2 // { dg-do compile { target c++17 } }
4 template <const auto& Value>
5 struct make_char_sequence;
7 template <int N, const char (&StringLiteral)[N]>
8 struct make_char_sequence<StringLiteral>
13 template <const auto& StringLiteral>
14 using make_char_sequence_t = typename make_char_sequence<StringLiteral>::type;
16 inline constexpr char sample[] = "Sample";
18 using X = make_char_sequence_t<sample>;