Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
expr
/
cond17.C
blob: 1999c376dd15b4a86b41aa117d9144682e6ca4e8 [
file
] [
log
] [
blame
]
// PR c++/92070 - bogus error with -fchecking=2.
// { dg-additional-options "-fchecking=2" }
struct
a
;
struct
b
{
static
a c
();
};
struct
a
:
b
{};
template
<class>
struct
d
{
void
e
()
{
0
?
b
()
:
b
::
c
();
}
};