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
main()9 main ()
10 {
11 auto [i] = D{}; // { dg-warning "only available with" "" { target c++14_down } }
12 if (i != 0)
13 __builtin_abort ();
14 }
15