2 struct b; // { dg-lto-note "type 'struct b' defined in anonymous namespace cannot match across the translation unit boundary" }
4 enum vals {aa,bb,cc}; // { dg-lto-note "an enum with different value name is defined in another translation unit" }
5 // { dg-lto-note "mismatching definition" "" { target *-*-* } .-1 }
6 struct a { // { dg-lto-note "a different type is defined in another translation unit" }
7 struct b *ptr; // { dg-lto-note "a field of same name but different type is defined in another translation unit" }
10 void test(struct a *);