OSDN Git Service

Revert XFAIL removal.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp40.C
1 // Build don't link:
2 // GROUPS passed templates membertemplates
3 template <class T>
4 struct R
5 {
6   template <class U>
7   void g(U u) {}
8 };
9
10 template <class T>
11 struct S
12 {
13   template <class U>
14   void f(U u) { R<T> r; r.g(u); }
15 };
16
17 void foo()
18 {
19   S<int> si;
20   si.f("abc");
21 }