You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
279 B
6 lines
279 B
7 months ago
|
// RUN: %clang_cc1 -triple thumbv8m.base-none-eabi -mcmse -verify %s
|
||
|
|
||
|
extern "C" void foo() __attribute__((cmse_nonsecure_entry)) {}
|
||
|
|
||
|
void bar() __attribute__((cmse_nonsecure_entry)) {} // expected-error{{function type with 'cmse_nonsecure_entry' attribute must have C linkage}}
|