blob: 2be88437072d8c5f00c06f226c4cfbfeae1a46a7 [file] [log] [blame]
// PR c++/96268
// { dg-do compile { target c++20 } }
template <int N>
struct static_string { char chars[N]; /* operator<=> */ };
template <int N>
static_string(char const(&)[N]) -> static_string<N>;
static_string hi = {"hi"};
template <static_string str> struct name {};
using Hi = name<{"hi"}>;