mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 20:16:05 +00:00

Similar to d39b4ce3ce8a3c256e01bdec2b140777a332a633 Using "eabi" or "gnueabi" for aarch64 targets is a common mistake and warned by Clang Driver. We want to avoid them elsewhere as well. Just use the common "aarch64" without other triple components.
9 lines
335 B
C
9 lines
335 B
C
// RUN: %clang_cc1 -triple aarch64 -verify %s
|
|
|
|
#include "arm_acle.h"
|
|
|
|
void test_no_tme_funcs(void) {
|
|
__tstart(); // expected-error{{call to undeclared function '__tstart'; ISO C99 and later do not support implicit function declarations}}
|
|
__builtin_tstart(); // expected-error{{use of unknown builtin '__builtin_tstart'}}
|
|
}
|