☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist96.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist96.C
code
plain
raw
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
}