1// Compiler: egcs-2.91.12 980302 2// Error: compiler error in ctor of 'foo::bar<T>::bar(T const &)' 3 4struct foo 5{ 6 template <typename T> 7 struct bar 8 { 9 bar(T const &t) : tt(t) {} 10 T tt; 11 }; 12}; 13 14int main() 15{ 16 foo::bar<int> fb(3); 17 return 0; 18} 19