llvm-project/clang/test/Sema/aarch64-tme-errors.c

9 lines
278 B
C

// 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'}}
}