// PR c++/108773 // { dg-do compile { target c++11 } } #include namespace std { struct __new_allocator {}; struct allocator : __new_allocator {}; template struct basic_string { basic_string(const T *, allocator = allocator()); ~basic_string(); }; using string = basic_string; template struct array { T _M_elems; }; template struct list { list &operator=(initializer_list); }; } struct RGWSyncTraceManager { std::list> admin_commands; void hook_to_admin_command(); }; void RGWSyncTraceManager::hook_to_admin_command() { admin_commands = {{""}, {""}}; }