Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
pr89790.C
blob: c4d97664c0ce4bf8f5b0b24b25c7235a26c1f878 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-Wduplicated-cond" }
template
<typename>
class
a
{
typedef
a b
;
template
<typename>
void
c
();
};
template
<
typename
d
>
template
<typename>
void
a
<d>
::
c
()
{
int
f
;
b g
;
if
(
g
==
0
)
;
else
if
(
f
)
{
}
}