2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / anon-union2.C
blob38c91f41a5c952ec32adc9dfda5e4ad99e1a94b8
1 // PR c++/83956
2 // { dg-do compile { target c++11 } }
4 struct a {
5   ~a() = delete;
6 };
7 struct b {
8   ~b() {}
9   union {
10     a c;
11   };