| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-mdejagnu-cpu=power11 -O2" } */ |
| 3 |
|
| 4 |
/* Basic check to see if the compiler supports -mcpu=power11 and if it defines |
| 5 |
_ARCH_PWR11. */ |
| 6 |
|
| 7 |
#ifndef _ARCH_PWR11 |
| 8 |
#error "-mcpu=power11 is not supported" |
| 9 |
#endif |
| 10 |
|
| 11 |
void foo (void) |
| 12 |
{ |
| 13 |
} |