☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
decomp49.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/decomp49.C
code
plain
raw
1
// PR c++/82075
2
// { dg-do run { target c++11 } }
3
// { dg-options "" }
4
5
struct B { };
6
struct D : B { int i; };
7
8
int
9
main ()
10
{
11
auto [i] = D{}; // { dg-warning "only available with" "" { target c++14_down } }
12
if (i != 0)
13
__builtin_abort ();
14
}