1 // PR c++/91377 2 // { dg-do compile { target c++11 } } 3 4 struct f { 5 static constexpr int d = 3; 6 typedef int e; 7 }; 8 template <int a> struct x { }; 9 template <typename g, g j, g m> using n = x<j + m>; 10 template <typename ac> auto v() -> n<typename ac::e, 0, ac::d>; af()11void af() { v<f>(); } 12 13 // { dg-final { scan-assembler "_Z1vI1fE1xIXplLi0EsrT_1dEEv" } } 14