3 // { dg-options "-Wduplicated-cond" }
6 struct B { int c; int f; } e;
7 template <typename> void foo ();
11 template <typename> void
25 if (&g == &e.c) // { dg-message "previously used here" }
27 else if (&g == &e.c) // { dg-warning "duplicated 'if' condition" }