OSDN Git Service

new testcases
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp13.C
1 // Build don't link:
2 // GROUPS passed templates membertemplates
3 template <class T>
4 struct S
5 {
6   template <class U>
7   void foo(U);
8 };
9
10 void f()
11 {
12   S<int> s;
13   s.foo(3);
14   s.foo("hello");
15 }