[Bug c++/94563] Relational operations between pointer and nullptr accepted
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94563 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Reso
[Bug c++/94563] Relational operations between pointer and nullptr accepted
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94563 --- Comment #1 from Daniel Krügler --- To clarify the actual bug character of this issue, the following example shows it more clearly: template bool test(T*) { return true; } int main() { test((int*)(nullptr)); } This program should be ill