1 // PR c++/83956 2 // { dg-do compile { target c++11 } } 3 4 struct a { 5 ~a() = delete; 6 }; 7 struct b { ~bb8 ~b() {} 9 union { 10 a c; 11 }; 12 }; 13