re PR regression/53149 (gcc.dg/20011021-1.c)

2012-04-29  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	PR 53149
        * gcc.dg/20011021-1.c: Adjust testcase.

From-SVN: r186945
This commit is contained in:
Manuel López-Ibáñez 2012-04-29 09:47:43 +00:00
parent 1c8300874e
commit 663b01340b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-04-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR 53149
* gcc.dg/20011021-1.c: Adjust testcase.
2012-04-29 Thomas Koenig <tkoenig@gcc.gnu.org> 2012-04-29 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/53148 PR fortran/53148

View File

@ -8,7 +8,7 @@
struct t struct t
{ {
int a; int a;
int b; int b; /* { dg-message "note: 'b' declared here" } */
int c; int c;
}; };
@ -28,7 +28,7 @@ struct multilevel
}; };
struct t T0 = { 1 }; /* { dg-warning "missing init" } */ struct t T0 = { 1 }; /* { dg-warning "missing init" } */
/* { dg-warning "near init" "near init" { target *-*-* } 30 } */
struct t T1 = { .a = 1 }; /* { dg-bogus "(missing|near) init" } */ struct t T1 = { .a = 1 }; /* { dg-bogus "(missing|near) init" } */
union u U0 = { 1 }; /* { dg-warning "initialization of union" } */ union u U0 = { 1 }; /* { dg-warning "initialization of union" } */