Rebase.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / ttp54.C
bloba789e934ef1e65d5b6b4c43fa7e26263b693a904
1 // { dg-do assemble  }
3 // Reported by Bruce Eckel <Bruce@EckelObjects.com>
5 // [temp.deduct.type]
6 // Make sure we treat <T> in the construct TT<T> as any type containing T.
8 template <class T> class C
12 template <class T, template <class> class TT> void f (TT<T *> &t)
16 int main ()
18        C<char *> c;
19        f(c);