arm-no-cmse.c
316 Bytes
// 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}}