☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
expr
/
cond17.C
☽
☼
gcc/testsuite/g++.dg/expr/cond17.C
code
plain
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
};