Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / memtemp40.C
blob40ae3e6ea28a2e84a376e5f5254ce99c72b441e9
1 // { dg-do assemble  }
2 // GROUPS passed templates membertemplates
3 template <class T>
4 struct R
6   template <class U>
7   void g(U u) {}
8 };
10 template <class T>
11 struct S
13   template <class U>
14   void f(U u) { R<T> r; r.g(u); }
17 void foo()
19   S<int> si;
20   si.f("abc");