OSDN Git Service

* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / defarg2.C
1 template <int S=0, class T=int>
2 struct X
3 {};
4
5 template <>
6 struct X<0,int>
7 {};
8
9 template <int S>
10 struct X<S,int>
11 : X<>
12 {};
13
14 int main()
15 {
16   X<1,int> x;
17 }