aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/msp430/devices/csv-using-installed.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/msp430/devices/csv-using-installed.c')
-rw-r--r--gcc/testsuite/gcc.target/msp430/devices/csv-using-installed.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/msp430/devices/csv-using-installed.c b/gcc/testsuite/gcc.target/msp430/devices/csv-using-installed.c
new file mode 100644
index 0000000..11cbbab
--- /dev/null
+++ b/gcc/testsuite/gcc.target/msp430/devices/csv-using-installed.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 devices.csv can be installed into the
+ "$TOOLCHAIN_ROOT/msp430-elf/include/devices/" and used to read device data. */
+
+#include "devices-main.c"