gcc/testsuite/g++.target/i386/pr104533.C
raw| 1 | /* PR ipa/104533 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-additional-options "-std=c++11 -fPIC -Ofast -fno-semantic-interposition" } */ |
| 4 | /* { dg-require-ifunc "" } */ |
| 5 | |
| 6 | struct B |
| 7 | { |
| 8 | virtual ~B(); |
| 9 | }; |
| 10 | __attribute__((target_clones("avx"))) |
| 11 | B::~B() = default; /* { dg-warning "single .target_clones. attribute is ignored" } */ |