8 lines · c
1// RUN: %clang_cc1 -triple thumbv8m.base-none-eabi -verify %s2 3typedef void (*callback_ns_1t)(void)4 __attribute__((cmse_nonsecure_call)); // expected-warning{{'cmse_nonsecure_call' attribute ignored}}5 6void f(void)7 __attribute__((cmse_nonsecure_entry)) {} // expected-warning{{'cmse_nonsecure_entry' attribute ignored}}8