gcc/testsuite/gcc.target/msp430/mcpu-is-430xv2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-skip-if "" { *-*-* } { "-mcpu=*" "-mmcu=*" } { "" } } */ |
| 3 | /* { dg-options "-mcpu=430XV2" } */ |
| 4 | |
| 5 | /* Verify that the alternate way of selecting the 430XV2 ISA (i.e. with the |
| 6 | value "430XV2" instead of "msp430xv2") successfully selects the correct |
| 7 | ISA. 430xv2 doesn't actually have any observable effect on codegen, so we |
| 8 | have to just test for 430X. */ |
| 9 | |
| 10 | #ifndef __MSP430X__ |
| 11 | #error |
| 12 | #endif |
| 13 |