// { dg-do run } // Compiler: egcs-2.91.12 980302 // Error: compiler error in ctor of 'foo::bar::bar(T const &)' struct foo { template struct bar { bar(T const &t) : tt(t) {} T tt; }; }; int main() { foo::bar fb(3); return 0; }