| 1 |
// PR c++/82085 |
| 2 |
// { dg-do compile { target c++14 } } |
| 3 |
|
| 4 |
template <const char& V> |
| 5 |
using char_sequence_t = int; |
| 6 |
|
| 7 |
template <typename T> |
| 8 |
constexpr char name_of_v = 'x'; |
| 9 |
|
| 10 |
template <typename T> |
| 11 |
using type = char_sequence_t<name_of_v<T>>; |