3 // { dg-options "-Wduplicated-branches" }
7 f (signed char i, int *p)
10 *p = (signed short) i;
12 *p = (unsigned short) i;
14 if (i) // { dg-warning "this condition has identical branches" }
17 *p = (unsigned short) i;
20 template void f<unsigned short>(signed char, int *); // { dg-message "required from here" }
21 template void f<signed short>(signed char, int *);