Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
)
{
}
}