blob: 40178bf489d902d9f16eb733742af4f706341dcc [file] [log] [blame]
// PR c++/34068
// { dg-do compile }
template <typename> struct A
{
typedef int X;
A () { T (). ~X (); } // { dg-error "there are no arguments to|fpermissive|was not declared in this scope" }
};
A <int> a;