Debian Codegraph @

gcc/testsuite/gcc.target/msp430/430x-default-isa.c

raw
1 /* { dg-do compile } */
2 /* { dg-skip-if "" { *-*-* } { "-mcpu=*" "-mmcu=*" } } */
3 /* { dg-options "-mmcu=msp430foobar -mno-warn-mcu -mno-warn-devices-csv" } */
4
5 /* Verify that the default ISA is set to 430X when the MCU passed to -mmcu= is
6 unrecognized. */
7
8 #ifndef __MSP430X__
9 #error
10 #endif