1 // PR c++/83924
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wduplicated-branches" }
4 
5 class GenVectorS {};
6 
7 template<int N>
8 using  VectorS = GenVectorS;
9 
10 template<int n, int m>
runB(const VectorS<(n> m?n:m)>)11 void runB(const VectorS<(n > m ? n : m)>)
12 {}
13 
runA()14 void runA() {
15 	runB<1, 1>(VectorS<1>{});
16 }
17