// DR 1512 // PR c++/87699 // { dg-do compile { target c++11 } } template // { dg-error "ordered comparison" } bool test(T*) { return true; } int main() { test((int*)(nullptr)); // { dg-error "no matching function" } }