]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/lto/odr-1_0.C
ipa-devirt.c (odr_subtypes_equivalent_p): Fix recursion.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / lto / odr-1_0.C
CommitLineData
09d3f04e
JH
1// PR c++/82414
2// { dg-lto-do link }
3struct 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 6void test(struct a *)
09d3f04e
JH
7{
8}