Debian Codegraph @

gcc/testsuite/g++.dg/warn/pr83974.C

raw
1 // { dg-options "-Wtautological-compare" }
2
3 struct A {
4 typedef void (A::*B) ();
5 operator B ();
6 };
7 template <typename>
8 struct C {
9 void foo () { d == 0; }
10 A d;
11 };