X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fc90-mixdecl-1.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fc90-mixdecl-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=b07ab2674855d01cda1d3ae2c3283c160ea5d13b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/c90-mixdecl-1.c b/gcc/testsuite/gcc.dg/c90-mixdecl-1.c deleted file mode 100644 index b07ab267..00000000 --- a/gcc/testsuite/gcc.dg/c90-mixdecl-1.c +++ /dev/null @@ -1,13 +0,0 @@ -/* Test for C99 mixed declarations and code: not in C90. */ -/* Origin: Joseph Myers */ -/* { dg-do compile } */ -/* { dg-options "-std=iso9899:1990 -pedantic-errors" } */ - -void -foo (void) -{ - int i; - i = 0; - int j; /* { dg-bogus "warning" "warning in place of error" } */ - /* { dg-error "mix|parse" "mixed declarations and code not in C90" { target *-*-* } 11 } */ -}