2020-03-24 17:32:51 +08:00
|
|
|
// RUN: %clang_cc1 -triple thumbv8m.base-none-eabi -verify %s
|
|
|
|
|
2022-02-04 05:39:21 +08:00
|
|
|
typedef void (*callback_ns_1t)(void)
|
2020-03-24 17:32:51 +08:00
|
|
|
__attribute__((cmse_nonsecure_call)); // expected-warning{{'cmse_nonsecure_call' attribute ignored}}
|
|
|
|
|
2022-02-04 05:39:21 +08:00
|
|
|
void f(void)
|
2020-03-24 17:32:51 +08:00
|
|
|
__attribute__((cmse_nonsecure_entry)) {} // expected-warning{{'cmse_nonsecure_entry' attribute ignored}}
|