aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/odr-3_1.C
blob: 8a4448625553845de71bec776cf26ab19cb126fe (plain)
1
2
3
4
5
6
7
8
9
typedef struct YYSTYPE { // { dg-lto-message ":16 a different type is defined in another translation unit" }
} YYSTYPE;
union yyalloc { 
  short yyss;
  YYSTYPE yyvs; // { dg-lto-message "the first difference of corresponding definitions is field ‘yyvs’" }

};
void a() { yyalloc b; }