Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
decomp49.C
blob: 525eb45af51b8d4b1429ba92c9fbc251f77bb2e1 [
file
] [
log
] [
blame
]
// PR c++/82075
// { dg-do run { target c++11 } }
// { dg-options "" }
struct
B
{
};
struct
D
:
B
{
int
i
;
};
int
main
()
{
auto
[
i
]
=
D
{};
// { dg-warning "only available with" "" { target c++14_down } }
if
(
i
!=
0
)
__builtin_abort
();
}