Sign in
fuchsia
/
third_party
/
llvm-project
/
c3fd2a50ba1395b6c2240f6a688c6a1aa975a1fe
/
.
/
clang
/
test
/
Sema
/
check-aux-builtins.c
blob: be674389e89d92cd55d0f8d7e18445e9818e9894 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fopenmp -fopenmp-is-device -triple aarch64 -aux-triple x86_64-linux-pc -fsyntax-only -verify %s
void
func
(
void
)
{
(
void
)
__builtin_cpu_is
(
"atom"
);
__builtin_cpu_is
(
"INVALID"
);
// expected-error{{invalid cpu name for builtin}}
}