clang/test/Sema/aarch64-tme-errors.c
raw| 1 | // RUN: %clang_cc1 -triple aarch64 -verify %s |
| 2 | |
| 3 | #include "arm_acle.h" |
| 4 | |
| 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'}} |
| 8 | } |