[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Sema / arm-no-cmse.c
blob849ce4fc940025044302ce26a30ee11912560b74
1 // RUN: %clang_cc1 -triple thumbv8m.base-none-eabi -verify %s
3 typedef void (*callback_ns_1t)(void)
4 __attribute__((cmse_nonsecure_call)); // expected-warning{{'cmse_nonsecure_call' attribute ignored}}
6 void f(void)
7 __attribute__((cmse_nonsecure_entry)) {} // expected-warning{{'cmse_nonsecure_entry' attribute ignored}}