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

Unified Diff: gcc/gcc/testsuite/gcc.dg/redecl-10.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/pthread-init-1.c ('k') | gcc/gcc/testsuite/gcc.dg/sequence-pt-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/redecl-10.c
diff --git a/gcc/gcc/testsuite/gcc.dg/redecl-10.c b/gcc/gcc/testsuite/gcc.dg/redecl-10.c
index 88d804e6cfd67f1e898a1444c71beebf9eee8c9d..525961e7e3a62c83d031629370457a3ea901f0ef 100644
--- a/gcc/gcc/testsuite/gcc.dg/redecl-10.c
+++ b/gcc/gcc/testsuite/gcc.dg/redecl-10.c
@@ -12,7 +12,7 @@ f (void)
extern int w[] = { 1, 2 }; /* { dg-error "has both" } */
}
-int x[];
+int x[]; /* { dg-warning "array 'x' assumed to have one element" } */
void
g (void)
{
@@ -26,7 +26,7 @@ h (void)
extern int y[] = { 6 }; /* { dg-error "has both" } */
}
-int z[];
+int z[]; /* { dg-warning "array 'z' assumed to have one element" } */
void
i (void)
{
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/pthread-init-1.c ('k') | gcc/gcc/testsuite/gcc.dg/sequence-pt-1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698