aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/msp430/devices/csv-using-option.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/msp430/devices/csv-using-option.c')
-rw-r--r--gcc/testsuite/gcc.target/msp430/devices/csv-using-option.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/msp430/devices/csv-using-option.c b/gcc/testsuite/gcc.target/msp430/devices/csv-using-option.c
new file mode 100644
index 0000000..bb47d53
--- /dev/null
+++ b/gcc/testsuite/gcc.target/msp430/devices/csv-using-option.c
@@ -0,0 +1,9 @@
+/* { dg-do compile } */
+/* { dg-additional-options "-mmcu=msp430_28" } */
+/* { dg-warning "supports 430X ISA but '-mcpu' option is set to 430" "" { target msp430_430_selected } 0 } */
+/* { dg-warning "supports f5series hardware multiply" "" { target msp430_hwmul_not_f5 } 0 } */
+
+/* This tests that the -mdevices-csv-loc option can be used to specify the path
+ to devices.csv. */
+
+#include "devices-main.c"