blob: 136dc78302690f12d6944bf453d8b603c2e6f612 [file] [log] [blame]
// PR c++/11878
struct A
{
virtual ~A();
};
template<typename T> struct B
{
T t;
};
void foo() { throw B<A>().t; }