blob: d23a3e7ed3218d04e581976b386b2d611ba1257f [file] [log] [blame]
// PR c++/83924
// { dg-do compile { target c++11 } }
// { dg-options "-Wduplicated-branches" }
class GenVectorS {};
template<int N>
using VectorS = GenVectorS;
template<int n, int m>
void runB(const VectorS<(n > m ? n : m)>)
{}
void runA() {
runB<1, 1>(VectorS<1>{});
}