Sign in
llvm
/
clang
/
c6d149249952dca405a25fd043da864ddf71301f
/
.
/
test
/
CodeGen
/
attr-target-ppc.c
blob: d2901748b37cb95471b09e58ab7d10a9dddcf6ca [
file
] [
log
] [
blame
]
// RUN: not %clang_cc1 -triple powerpc64le-linux-gnu -emit-llvm %s -o -
long
__attribute__
((
target
(
"power8-vector,no-vsx"
)))
foo
(
void
)
{
return
0
;
}
// expected-error {{option '-mpower8-vector' cannot be specified with '-mno-vsx'}}