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
[TargetVersion] Only enable on RISC-V and AArch64 (#115991)
[llvm-project.git]
/
clang
/
test
/
Sema
/
attr-target-version-unsupported.c
blob
7cf8172f5272e6edb95f76c82a54176f7c1d27b5
1
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -verify %s
2
3
//expected-warning@+1 {{unknown attribute 'target_version' ignored}}
4
int
__attribute__
((
target_version
(
"aes"
)))
foo
(
void
) {
return
3
; }