| 1 |
// PR c++/83911 |
| 2 |
// { dg-do compile } |
| 3 |
// { dg-require-ifunc "" } |
| 4 |
|
| 5 |
class SimdFloat |
| 6 |
{ |
| 7 |
public: |
| 8 |
__attribute__ ((target ("default"))) |
| 9 |
SimdFloat(float x) {} |
| 10 |
|
| 11 |
__attribute__ ((target ("avx2"))) |
| 12 |
SimdFloat(float x) {} |
| 13 |
}; |
| 14 |
|
| 15 |
SimdFloat foo() |
| 16 |
{ |
| 17 |
return 1; |
| 18 |
} |