repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* g++.dg/cpp0x/initlist96.C: Use <initializer_list>.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist96.C
blob
45fd128ba8357249d63e6da2d3e58a2b10186116
1
// PR c++/66515
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct type_t { };
7
8
type_t &
9
get ()
10
{
11
std::initializer_list<type_t>{ { get () } };
12
}