Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
()
}
};
}