llvm-project/clang/test/Sema/arm-no-cmse.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
324 B
C
Raw Normal View History

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