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 }; |
} |