blob: bae649a3dfa81ca80432490db508c3afb9b018c9 [file] [log] [blame]
// Build don't link:
// Reported by Bruce Eckel <Bruce@EckelObjects.com>
// [temp.deduct.type]
// Make sure we treat <T> in the construct TT<T> as any type containing T.
template <class T> class C
{
};
template <class T, template <class> class TT> void f (TT<T *> &t)
{
}
int main ()
{
C<char *> c;
f(c);
}