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
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist96.C
blob
94e9c0eb148dbb90305f392184867a4fec39c5a4
1
// PR c++/66515
2
// { dg-do compile { target c++11 } }
3
// { dg-additional-options "-Wno-return-type" }
4
5
#include <initializer_list>
6
7
struct type_t { };
8
9
type_t &
10
get ()
11
{
12
std::initializer_list<type_t>{ { get () } };
13
}