aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-array-lval-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-array-lval-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/c99-array-lval-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-array-lval-1.c b/gcc/testsuite/gcc.dg/c99-array-lval-1.c
index 616ddb9..c0fccc8 100644
--- a/gcc/testsuite/gcc.dg/c99-array-lval-1.c
+++ b/gcc/testsuite/gcc.dg/c99-array-lval-1.c
@@ -12,6 +12,6 @@ bar (void)
{
char *t;
(foo ()).c[0]; /* { dg-bogus "non-lvalue" "array not decaying to lvalue" } */
- t = (foo ()).c; /* { dg-bogus "non-lvalue" "array not decaying to lvalue" { xfail *-*-* } } */
- (foo ()).c + 1; /* { dg-bogus "non-lvalue" "array not decaying to lvalue" { xfail *-*-* } } */
+ t = (foo ()).c; /* { dg-bogus "non-lvalue" "array not decaying to lvalue" } */
+ (foo ()).c + 1; /* { dg-bogus "non-lvalue" "array not decaying to lvalue" } */
}