X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fcpp%2Func4.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fcpp%2Func4.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=84ea6e45740a1df29288e310da8d5d0ead7d8bdc;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/cpp/unc4.c b/gcc/testsuite/gcc.dg/cpp/unc4.c deleted file mode 100644 index 84ea6e45..00000000 --- a/gcc/testsuite/gcc.dg/cpp/unc4.c +++ /dev/null @@ -1,40 +0,0 @@ -/* { dg-do preprocess } */ -/* { dg-options "-fno-show-column" } */ - -/* Tests for un-terminated conditional diagnostics. - Copyright (c) 1999 Free Software Foundation. - Contributed by Zack Weinberg, who made it up all by himself. */ - -#endif /* { dg-error "#endif" "#endif without #if" } */ - -#else /* { dg-error "#else" "#else without #if" } */ -#endif /* { dg-error "#endif" "#endif after #else without #if" } */ - -#elif 0 /* { dg-error "#elif" "#elif without #if" } */ -#endif /* { dg-error "#endif" "#endif after #else without #if" } */ - -#if 1 /* { dg-bogus "unterminated" "terminated true conditional" } */ -blah -#endif - -#if 0 /* { dg-bogus "unterminated" "terminated false conditional" } */ -ignored -#endif - -/* We shouldn't see unbalanced conditionals inside #if'ed out #includes. */ -#if 0 -#include "unc1.c" -#endif - -/* The ifdef below should not get an error just because there's a bad if - inside the included file. - The odd dg-error tag on the include matches the "In file included from" - message. */ -#define FOO -#ifdef FOO /* { dg-bogus "unterminated" "nested unterm" } */ -#include "unc1.c" /* { dg-error "" } */ -#endif - -/* dg.exp doesn't read the included files for tags, so we have to - do them explicitly here. */ -/* { dg-error "#if" "unc1.c: unterminated #if" { target *-*-* } 4 } */