llvm-for-llvmta/tools/clang/test/Sema/aarch64-tme-errors.c

9 lines
278 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -triple aarch64-eabi -verify %s
#include "arm_acle.h"
void test_no_tme_funcs() {
__tstart(); // expected-warning{{implicit declaration of function '__tstart'}}
__builtin_tstart(); // expected-error{{use of unknown builtin '__builtin_tstart'}}
}