2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / nontype1.C
blob95c683f491b168542bc6325ba0f2c13a45379801
1 // { dg-do assemble  }
3 template<int N_length>
4 struct B
6     B();
7     ~B();
8 };
9 template<class P, int N>
10 struct D
12     D(int r0);
13     D(B<N-1> &, int);
15 template<class T>
16 void func()
18     D<T,1> tmp;