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

Unified Diff: gcc/gcc/testsuite/gcc.dg/c99-tag-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-static-1.c ('k') | gcc/gcc/testsuite/gcc.dg/c99-tgmath-3.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-tag-1.c
diff --git a/gcc/gcc/testsuite/gcc.dg/c99-tag-1.c b/gcc/gcc/testsuite/gcc.dg/c99-tag-1.c
index e93d3bcf0b4ccd243794a83aac5b52a379fadefc..dd525317d03e4573d7d815bc681e4fe172771c7f 100644
--- a/gcc/gcc/testsuite/gcc.dg/c99-tag-1.c
+++ b/gcc/gcc/testsuite/gcc.dg/c99-tag-1.c
@@ -24,7 +24,7 @@ foo (void)
/* A specific type shall have its content defined at most once. But we
may redeclare the tag in different scopes. */
{
- struct s0 { int i; };
+ struct s0 { int i; }; /* { dg-message "note: originally defined here" } */
{
struct s0 { long l; };
}
@@ -33,7 +33,7 @@ foo (void)
}
struct s0 { int i; }; /* { dg-bogus "warning" "warning in place of error" } */
/* { dg-error "rede" "struct redef" { target *-*-* } 34 } */
- union u0 { int i; };
+ union u0 { int i; }; /* { dg-message "note: originally defined here" } */
{
union u0 { long l; };
}
@@ -42,7 +42,7 @@ foo (void)
}
union u0 { int i; }; /* { dg-bogus "warning" "warning in place of error" } */
/* { dg-error "rede" "union redef" { target *-*-* } 43 } */
- enum e0 { E0A };
+ enum e0 { E0A }; /* { dg-message "note: originally defined here" } */
{
enum e0 { E0B };
}
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/c99-static-1.c ('k') | gcc/gcc/testsuite/gcc.dg/c99-tgmath-3.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698