1 /* { dg-do compile } */ 2 /* { dg-require-ifunc "" } */ 3 /* { dg-options "-fno-inline" } */ 4 /* { dg-final { scan-assembler-times "foo.ifunc" 6 } } */ 5 6 __attribute__((target_clones("default","avx","avx2"))) 7 int foo()8foo () 9 { 10 return 10; 11 } 12 13 __attribute__((target_clones("default","avx","avx2"))) 14 int bar()15bar () 16 { 17 return -foo (); 18 } 19