Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist96.C
blob: 94e9c0eb148dbb90305f392184867a4fec39c5a4 [
file
] [
log
] [
blame
]
// PR c++/66515
// { dg-do compile { target c++11 } }
// { dg-additional-options "-Wno-return-type" }
#include
<initializer_list>
struct
type_t
{
};
type_t
&
get
()
{
std
::
initializer_list
<type_t>
{
{
get
()
}
};
}