| 1 |
// PR c++/94523 |
| 2 |
// { dg-do compile { target c++14 } } |
| 3 |
|
| 4 |
template <bool, typename a> using b = a; |
| 5 |
struct d { |
| 6 |
char ao; |
| 7 |
template <typename ap> constexpr d(ap) : ao{} {} |
| 8 |
}; |
| 9 |
template <int... au> struct e { static constexpr auto aw = d(au...); }; |
| 10 |
template <int c> b<c, d> ax(e<1>::aw); |