| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */ |
| 3 |
|
| 4 |
/* Check if we can set the power11 target via a target_clones attribute. */ |
| 5 |
|
| 6 |
__attribute__((__target_clones__("cpu=power11,cpu=power9,default"))) |
| 7 |
void foo (void) |
| 8 |
{ |
| 9 |
} |