blob: 3af3e35b4ec584591a122b7a627b462db68dee86 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
__attribute__((target_clones("avx","arch=slm","arch=core-avx2")))
int foo (); /* { dg-error "default target was not set" } */
int
bar ()
{
return foo();
}
|