gcc/testsuite/g++.target/i386/pr85329-2.C
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-ifunc "" } */ |
| 3 | |
| 4 | class b |
| 5 | { |
| 6 | public: |
| 7 | __attribute__ ((target ("aes"))) b () {} |
| 8 | __attribute__ ((target ("default"))) b () {} |
| 9 | }; |
| 10 | class c |
| 11 | { |
| 12 | b d; |
| 13 | }; |
| 14 | void |
| 15 | fn1 () |
| 16 | { |
| 17 | c a; |
| 18 | } |
| 19 | __attribute__ ((target_clones ("sse", "default"))) void |
| 20 | e () |
| 21 | { |
| 22 | } |