aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/decl-nospec-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/decl-nospec-2.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/decl-nospec-2.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/decl-nospec-2.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/decl-nospec-2.c
deleted file mode 100644
index ab628949b..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/decl-nospec-2.c
+++ /dev/null
@@ -1,8 +0,0 @@
-/* Data definition with no type or storage class should receive a
- pedwarn, rather than a warning which becomes an error with
- -pedantic. Test with -pedantic. */
-/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
-/* { dg-do compile } */
-/* { dg-options "-pedantic" } */
-
-foo(); /* { dg-warning "data definition has no type or storage class" } */