Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/nontype1.C

raw
1 // { dg-do assemble }
2
3 template<int N_length>
4 struct B
5 {
6 B();
7 ~B();
8 };
9 template<class P, int N>
10 struct D
11 {
12 D(int r0);
13 D(B<N-1> &, int);
14 };
15 template<class T>
16 void func()
17 {
18 D<T,1> tmp;
19 }