Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / memtemp35.C
blob11cc223ad11b8f423487ee42ed19313c4a0f0ef1
1 // { dg-do assemble  }
2 // GROUPS passed templates membertemplates
3 template <class T>
4 struct S
6   S(const S& s) {}
8   template <class U>
9   S(S<U>& s)
10   {
11     S<U> s2(s);
12   }
16 extern S<int>& si;
18 void foo()
20   S<char*> sc(si);