Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist-array22.C

raw
1 // PR c++/111286
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -Wno-unused }
4
5 struct A {
6 A() noexcept {}
7 };
8
9 void foo() {
10 using T = const A (&)[1];
11 T{};
12 }