repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge dmd, druntime c7902293d7, phobos 03aeafd20
[gcc.git]
/
libstdc++-v3
/
testsuite
/
23_containers
/
deque
/
100516.cc
blob
ef32ae1054579034410cdd2af520df3da6efc322
1
// { dg-options "-O2 -Wstringop-overread" }
2
// { dg-do compile { target c++11 } }
3
4
// Bug 100516
5
// Unexpected -Wstringop-overread in deque<char> initialization from empty
6
// initializer_list
7
8
#include <deque>
9
10
void
f
()
11
{
12
std
::
initializer_list
<
char
>
il
{};
13
std
::
deque
<
char
>{
il
};
14
}