aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/Werror-11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/Werror-11.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/Werror-11.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/Werror-11.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/Werror-11.c
deleted file mode 100644
index 3fb892ee6..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/Werror-11.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-Wattributes -Werror" } */
-/* { dg-message "warnings being treated as errors" "" {target "*-*-*"} 0 } */
-
-/* Make sure #pragma can override -Werror. */
-
-#pragma GCC diagnostic warning "-Waddress"
-
-void __attribute__((dj)) bar() { } /* { dg-error ".* attribute directive ignored" } */
-
-int i;
-
-void
-foo ()
-{
- if (&i) /* { dg-warning ".* will always evaluate as 'true'" } */
- grill ();
-}