Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: gcc/gcc/testsuite/gcc.dg/c99-static-1.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/c99-const-expr-2.c ('k') | gcc/gcc/testsuite/gcc.dg/c99-tag-1.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/c99-static-1.c
diff --git a/gcc/gcc/testsuite/gcc.dg/c99-static-1.c b/gcc/gcc/testsuite/gcc.dg/c99-static-1.c
index 3c817c624d4a11bc01aa38d6ed143d3e6f5155a5..a138f878d928b60e919c215f8b51dfd20ff82ed5 100644
--- a/gcc/gcc/testsuite/gcc.dg/c99-static-1.c
+++ b/gcc/gcc/testsuite/gcc.dg/c99-static-1.c
@@ -27,7 +27,7 @@ static int f4(void);
void g4(void) { sizeof(int (*)[f4()]); }
/* Constraint violation (VLA). */
-static int f5(void); /* { dg-error "used but never defined" "VLA" { xfail *-*-* } } */
+static int f5(void); /* { dg-error "used but never defined" "VLA" } */
void g5(void) { sizeof(int [0 ? f5() : 1]); }
/* OK (non-constant sizeof inside constant sizeof). */
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/c99-const-expr-2.c ('k') | gcc/gcc/testsuite/gcc.dg/c99-tag-1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698