]>
Commit | Line | Data |
---|---|---|
09d3f04e JH |
1 | // PR c++/82414 |
2 | // { dg-lto-do link } | |
3 | struct a { // { dg-lto-warning "8: type 'struct a' violates the C\\+\\+ One Definition Rule" } | |
4 | struct b *ptr; // { dg-lto-message "13: the first difference of corresponding definitions is field 'ptr'" } | |
5 | }; | |
abb967da | 6 | void test(struct a *) |
09d3f04e JH |
7 | { |
8 | } |