Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git] / gcc / testsuite / g++.dg / init / copy6.C
blob136dc78302690f12d6944bf453d8b603c2e6f612
1 // PR c++/11878
3 struct A
5     virtual ~A();
6 };
8 template<typename T> struct B
10     T t;
13 void foo() { throw B<A>().t; }