blob: 120282a7a453a04eda218a67d6ae5a57495791a1 [file] [log] [blame]
// 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;
}