[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / aarch64-tme-errors.c
blob26e931b62bcb7d92bc4c18b9f6285d9db70aaa7c
1 // RUN: %clang_cc1 -triple aarch64-eabi -verify %s
3 #include "arm_acle.h"
5 void test_no_tme_funcs(void) {
6 __tstart(); // expected-error{{call to undeclared function '__tstart'; ISO C99 and later do not support implicit function declarations}}
7 __builtin_tstart(); // expected-error{{use of unknown builtin '__builtin_tstart'}}