Debian Codegraph @

gcc/testsuite/g++.dg/expr/cond17.C

raw
1 // PR c++/92070 - bogus error with -fchecking=2.
2 // { dg-additional-options "-fchecking=2" }
3
4 struct a;
5 struct b {
6 static a c();
7 };
8 struct a : b {};
9 template <class> struct d {
10 void e() { 0 ? b() : b::c(); }
11 };