Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist96.C

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 }