2 // { dg-do compile { target c++20 } }
3 // { dg-options "--param ggc-min-heapsize=0 --param ggc-min-expand=0" }
5 template <int N> struct S {
6 constexpr S(const char (&str)[N]) : value{} { }
9 template <S> struct string {
10 constexpr bool operator==(const string &) const = default;
12 template <S L2> void operator+(string<L2>) {
16 static_assert(string<"a">{} == string<"a">{});