blob: 6ba7a5b6c325bf45af460ff763c7fd03beb947c1 [file] [log] [blame]
// PR c++/39054
struct A {};
template<typename> void foo()
{
A().~int(); // { dg-error "expected" }
}