1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-require-ifunc "" } */
3 
4 __attribute__((target_clones("avx","arch=slm","default")))
5 __attribute__((target("avx")))
6 int foo (); /* { dg-warning "'target' attribute ignored due to conflict with 'target_clones' attribute" } */
7 
8 __attribute__((target_clones("avx","arch=slm","default"),always_inline))
9 int bar (); /* { dg-warning "'always_inline' attribute ignored due to conflict with 'target_clones' attribute" } */
10