// Build don't link: template struct S {}; template struct S : public S, S {}; template void f(S, S); void g() { S<0, 0, 0> s0; S<0, 1, 2> s2; f<0>(s0, s2); f(s0, s2); // ERROR - no matching function }