// PR c++/11878

struct A
{
    virtual ~A();
};

template<typename T> struct B
{
    T t;
};

void foo() { throw B<A>().t; }


syntax highlighted by Code2HTML, v. 0.9.1