// { dg-do run } // PRMS Id: 2139 // Bug: g++ tries to instantiate the template with types on the function // obstack and fails. template class X { public: X(int) { } T x; }; class A { }; int main() { int i; X xi(i); X xd(i); X fp0(i); X fp1(i); X fp2(i); X mp0 (i); X mp1 (i); }