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