llvm-for-llvmta/tools/clang/test/Sema/arm-no-cmse.c

8 lines
316 B
C

// RUN: %clang_cc1 -triple thumbv8m.base-none-eabi -verify %s
typedef void (*callback_ns_1t)()
__attribute__((cmse_nonsecure_call)); // expected-warning{{'cmse_nonsecure_call' attribute ignored}}
void f()
__attribute__((cmse_nonsecure_entry)) {} // expected-warning{{'cmse_nonsecure_entry' attribute ignored}}