Debian Codegraph @

gcc/testsuite/gcc.target/i386/mvc12.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-ifunc "" } */
3
4 __attribute__((target_clones("","arch=slm","arch=core-avx2", "default")))
5 int foo (); /* { dg-error "an empty string cannot be in .target_clones. attribute" } */
6
7 int
8 bar ()
9 {
10 return foo();
11 }