OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp36.C
1 // { dg-do assemble  }
2 // GROUPS passed templates membertemplates
3 template <class X>
4 struct R
5 {
6 };
7
8
9 template <class T>
10 struct S
11 {
12   template <class U>
13   S(R<U> r);
14 };
15
16
17 void foo()
18 {
19   R<int> r;
20   S<char*> s(r);
21 }