Sign in
cobalt
/
cobalt
/
refs/heads/22.lts.stable
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
attr-target-ppc.c
blob: d2901748b37cb95471b09e58ab7d10a9dddcf6ca [
file
] [
log
] [
blame
] [
edit
]
// 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'}}