summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/macsyntx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/macsyntx.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/macsyntx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/macsyntx.c b/gcc/testsuite/gcc.dg/cpp/macsyntx.c
index 146dcedab5f..ff7e37a0d06 100644
--- a/gcc/testsuite/gcc.dg/cpp/macsyntx.c
+++ b/gcc/testsuite/gcc.dg/cpp/macsyntx.c
@@ -51,15 +51,15 @@ one(ichi\
two(ichi) /* { dg-error "requires 2" } */
var0() /* OK. */
var0(ichi) /* OK. */
-var1() /* { dg-warning "requires at least one" } */
-var1(ichi) /* { dg-warning "requires at least one" } */
+var1() /* { dg-warning "requires at least one" "" { xfail *-*-* } } */
+var1(ichi) /* { dg-warning "requires at least one" "" { xfail *-*-* } } */
var1(ichi, ni) /* OK. */
/* This tests two oddities of GNU rest args - omitting a comma is OK,
and backtracking a token on pasting an empty rest args. */
#define rest(x, y...) x ## y /* { dg-warning "ISO C" } */
rest(ichi,) /* OK. */
-rest(ichi) /* { dg-warning "requires at least one" } */
+rest(ichi) /* { dg-warning "requires at least one" "" { xfail *-*-* } } */
#if 23 != rest(2, 3) /* OK, no warning. */
#error 23 != 23 !!
#endif