| 1 |
// { dg-do compile { target x86_64-*-* } } |
| 2 |
|
| 3 |
import gcc.attributes; |
| 4 |
|
| 5 |
// target |
| 6 |
|
| 7 |
@target_clones("default") |
| 8 |
@target("default") |
| 9 |
void tc0(); // { dg-warning "ignoring attribute .target. because it conflicts with attribute .target_clones." } |
| 10 |
|
| 11 |
// target_clones |
| 12 |
|
| 13 |
@target("default") |
| 14 |
@target_clones("default") |
| 15 |
void t0(); // { dg-warning "ignoring attribute .target_clones. because it conflicts with attribute .target." } |
| 16 |
|
| 17 |
@always_inline |
| 18 |
@target_clones("default") |
| 19 |
void tc1(); // { dg-warning "ignoring attribute .target_clones. because it conflicts with attribute .always_inline." } |