1// Copyright (C) 2001 Free Software Foundation
2// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3// { dg-do compile }
4
5template <class U> struct Alloc {};
6
7template <class T, class U = Alloc<T> > struct Vector {};
8
9template <template <class T, class U = Alloc<T> > class TT>
10struct C {
11	TT<int> tt;
12};
13
14int main()
15{
16	C<Vector> c;
17}
18