Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist-array18.C
blob8c0f316789df69f5daa110234375edc53719ae2b
1 // PR c++/108773
2 // { dg-do compile { target c++11 } }
4 #include <initializer_list>
6 namespace std {
7 struct __new_allocator {};
8 struct allocator : __new_allocator {};
9 template <typename T>
10 struct basic_string {
11   basic_string(const T *, allocator = allocator());
12   ~basic_string();
14 using string = basic_string<char>;
15 template <typename T>
16 struct array {
17   T _M_elems;
19 template <typename T>
20 struct list {
21   list &operator=(initializer_list<T>);
24 struct RGWSyncTraceManager {
25   std::list<std::array<std::string>> admin_commands;
26   void hook_to_admin_command();
28 void RGWSyncTraceManager::hook_to_admin_command() {
29   admin_commands = {{""}, {""}};