X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fext-glob.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fext-glob.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=deb51f50ea4866d7096a884fcf9cefad45a9a35e;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/ext-glob.c b/gcc/testsuite/gcc.dg/ext-glob.c deleted file mode 100644 index deb51f50..00000000 --- a/gcc/testsuite/gcc.dg/ext-glob.c +++ /dev/null @@ -1,19 +0,0 @@ -/* Test for the warning about external functions with non-global - types. In -traditional mode, these functions are globally visible - even if declared in an inner scope, so their return types should - also be visible. */ - -/* { dg-do compile } */ -/* { dg-options -traditional } */ -/* { dg-warning "-traditional is deprecated" "deprecation warning" { target *-*-* } 0 } */ - -int -main () -{ - struct foo { int a, b; }; - - extern struct foo *bar(); /* { dg-warning "type of external" "good warn" } */ - extern int baz(); /* { dg-bogus "type of external" "bad warn" } */ - - return 0; -}