]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/ext-glob.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / ext-glob.c
diff --git a/gcc/testsuite/gcc.dg/ext-glob.c b/gcc/testsuite/gcc.dg/ext-glob.c
deleted file mode 100644 (file)
index deb51f5..0000000
+++ /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;
-}