diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp-unc2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp-unc2.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp-unc2.c b/gcc/testsuite/gcc.dg/cpp-unc2.c new file mode 100644 index 00000000000..d9e39591570 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp-unc2.c @@ -0,0 +1,11 @@ +/* Tests for unterminated conditionals: 2. */ + +#ifdef __sparc__ /* { dg-error "unterminated" "unterminated if-elif-elif..." } */ +sparc +#elif defined __powerpc__ +ppc +#elif defined __i386__ +i386 +#elif defined __vax__ +vax + |