blob: 120282a7a453a04eda218a67d6ae5a57495791a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Build don't link:
template<int N_length>
struct B
{
B();
~B();
};
template<class P, int N>
struct D
{
D(int r0);
D(B<N-1> &, int);
};
template<class T>
void func()
{
D<T,1> tmp;
}
|