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