1 2 3 4 5 6 7 8 9 10 11 12 13 14
// 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 (); }