X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fc99-func-2.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fc99-func-2.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=9dc8b58c6739ddefd234080d2a500ea061f5e1f6;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/c99-func-2.c b/gcc/testsuite/gcc.dg/c99-func-2.c deleted file mode 100644 index 9dc8b58c..00000000 --- a/gcc/testsuite/gcc.dg/c99-func-2.c +++ /dev/null @@ -1,10 +0,0 @@ -/* Test for C99 __func__: not a string constant. */ -/* Origin: Joseph Myers */ -/* { dg-do compile } */ -/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */ - -void -foo (void) -{ - __func__ "foo"; /* { dg-error "(parse|syntax) error" "before string constant" } */ -}