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)
{
}
}