Left: | ||
Right: |
OLD | NEW |
---|---|
1 // { xfail-if "ANONYMOUS MERGING" { "*-*-*" } { "-fpph-map=pph.map" } } | |
2 // { dg-bogus "c0anonymous.h:4:16: error: 'struct anon_t' has a previous declara tion as 'struct anon_t'" "" { xfail *-*-* } 0 } | |
3 | |
4 #ifndef C1ANONYMOUS2_H | 1 #ifndef C1ANONYMOUS2_H |
5 #define C1ANONYMOUS2_H | 2 #define C1ANONYMOUS2_H |
6 | 3 |
7 #include "c0anonymous.h" | 4 #include "c0anonymous.h" |
8 | 5 |
9 typedef struct { // { dg-bogus "conflicting declaration 'struct<anonymous>'" "" { xfail *-*-* } } | 6 typedef struct { |
10 | 7 |
11 char *field; | 8 char *field; |
12 } anon2_t; // { dg-bogus "invalid type in declaration before ';' token" "" { xfa il *-*-* } } | 9 } anon2_t; |
13 | 10 |
14 #endif | 11 #endif |
OLD | NEW |