1 /* { dg-do compile } */ 2 /* { dg-require-ifunc "" } */ 3 4 __attribute__((target_clones("avx","arch=slm","arch=core-avx2"))) 5 int foo (); /* { dg-error "'default' target was not set" } */ 6 7 int bar()8 bar () 9 { 10 return foo(); 11 } 12