// PR c++/108773 // { dg-do compile { target c++20 } } #include namespace std { template struct array { _Tp _M_elems[_Nm]; }; template struct list { void operator=(initializer_list<_Tp>); }; struct allocator {}; struct basic_string { int _M_p; constexpr basic_string() {} basic_string(const char *, const allocator & = allocator()); ~basic_string(); }; } // namespace std std::list> stuff; void foo() { stuff = {{"", ""}, {"", ""}}; }