// PR c++/89442 // { dg-do compile { target c++14 } } template bool vt; template void f() { bool a = vt; // { dg-error "wrong number" } bool b = vt; bool c = vt; // { dg-error "number" } bool d = vt; // { dg-error "mismatch" } }