repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Sema
/
check-aux-builtins.c
blob
420534dfa49f04ee8f45ec5ec5c373e1fc07ffc8
1
// RUN: %clang_cc1 -fopenmp -fopenmp-is-target-device -triple aarch64 -aux-triple x86_64-linux-pc -fsyntax-only -verify %s
2
3
void
func
(
void
) {
4
(
void
)
__builtin_cpu_is
(
"atom"
);
5
__builtin_cpu_is
(
"INVALID"
);
// expected-error{{invalid cpu name for builtin}}
6
}