[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / SemaCXX / arm-cmse.cpp
blobdbf97e2f4a3b4d625b98922f233b7ec17f691e1b
1 // RUN: %clang_cc1 -triple thumbv8m.base-none-eabi -mcmse -verify %s
3 extern "C" void foo() __attribute__((cmse_nonsecure_entry)) {}
5 void bar() __attribute__((cmse_nonsecure_entry)) {} // expected-error{{function type with 'cmse_nonsecure_entry' attribute must have C linkage}}