OSDN Git Service

Revert XFAIL removal.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memclass6.C
1 // Compiler: egcs-2.91.12 980302
2 // Error:    compiler error in ctor of 'foo::bar<T>::bar(T const &)'
3
4 struct foo
5 {
6   template <typename T>
7         struct bar
8         {
9           bar(T const &t) : tt(t) {}
10           T tt;
11         };
12 };
13
14 int main()
15 {
16   foo::bar<int> fb(3);
17   return 0;
18 }