summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/cpp/redef2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/redef2.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/redef2.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/redef2.c b/gcc/testsuite/gcc.dg/cpp/redef2.c
index 7001d67eb00..b0068d91626 100644
--- a/gcc/testsuite/gcc.dg/cpp/redef2.c
+++ b/gcc/testsuite/gcc.dg/cpp/redef2.c
@@ -1,7 +1,7 @@
/* Test for redefining macros with significant differences. */
/* { dg-do preprocess }
- { dg-options "-ansi -pedantic -Wall -fno-show-column" } */
+ { dg-options "-ansi -Wall -fno-show-column" } */
#define mac(a, b) (a) + (b)
#define mac(a, b) (a) * (b)
@@ -28,6 +28,4 @@
{ dg-warning "previous" "prev def mac" { target *-*-* } 8 }
{ dg-warning "previous" "prev def ro" { target *-*-* } 11 }
{ dg-warning "previous" "prev def va" { target *-*-* } 14 }
-
- { dg-warning "named var" "named variadic" { target *-*-* } 14 }
- { dg-warning "anonymous var" "anon variadic" { target *-*-* } 15 } */
+*/
OpenPOWER on IntegriCloud