d: Merge dmd, druntime c7902293d7, phobos 03aeafd20
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / deque / 100516.cc
blobef32ae1054579034410cdd2af520df3da6efc322
1 // { dg-options "-O2 -Wstringop-overread" }
2 // { dg-do compile { target c++11 } }
4 // Bug 100516
5 // Unexpected -Wstringop-overread in deque<char> initialization from empty
6 // initializer_list
8 #include <deque>
10 void f()
12 std::initializer_list<char> il{};
13 std::deque<char>{il};