brintos

brintos / llvm-project-archived public Read only

0
0
Text · 465 B · 8e23fcc Raw
13 lines · c
1// RUN: %clang_cc1 -triple mips-linux-gnu  -fsyntax-only -verify %s2 3void __attribute__((target("arch=mips1")))4foo(void) {}5// expected-error@+3 {{function multiversioning is not supported on the current target}}6// expected-note@-2 {{previous declaration is here}}7void __attribute__((target("arch=mips2")))8foo(void) {}9 10// expected-error@+2 {{function multiversioning is not supported on the current target}}11void __attribute__((target("default")))12bar(void){}13