[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Sema / aarch64-tme-errors.c
blob1cb6f69035141d8692ceec44889f6cd5d63c7b8f
1 // RUN: %clang_cc1 -triple aarch64 -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'}}