PR c++/82075
* g++.dg/cpp1z/decomp49.C: New test.
From-SVN: r269504
+2019-03-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/82075
+ * g++.dg/cpp1z/decomp49.C: New test.
+
2019-03-08 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/f16_f64_conv_no_dp.c: New test.
--- /dev/null
+// 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 ();
+}