gcc/testsuite/gcc.target/msp430/mcpu-is-430x.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-skip-if "" { *-*-* } { "-mcpu=*" "-mmcu=*" } { "" } } */ |
| 3 | /* { dg-options "-mcpu=430x" } */ |
| 4 | |
| 5 | /* Verify that the alternate way of selecting the 430X ISA (i.e. with the |
| 6 | value "430x" instead of "msp430x") successfully selects the correct |
| 7 | ISA. */ |
| 8 | |
| 9 | #ifndef __MSP430X__ |
| 10 | #error |
| 11 | #endif |
| 12 |