OSDN Git Service

* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / ttp54.C
1 // Build don't link:
2
3 // Reported by Bruce Eckel <Bruce@EckelObjects.com>
4
5 // [temp.deduct.type]
6 // Make sure we treat <T> in the construct TT<T> as any type containing T.
7
8 template <class T> class C
9 {
10 };
11
12 template <class T, template <class> class TT> void f (TT<T *> &t)
13 {
14 }
15
16 int main ()
17 {
18        C<char *> c;
19        f(c);
20 }