Debian Codegraph @

gcc/testsuite/g++.dg/ext/packed11.C

raw
1 // PR c++/26670
2
3 struct nonpod {
4 nonpod();
5 };
6
7 struct nonpod_pack {
8 nonpod n; // { dg-warning "ignoring packed attribute" }
9 } __attribute__ ((packed));
10
11 struct nonpod_pack2 {
12 nonpod_pack p; // { dg-warning "ignoring packed attribute" }
13 } __attribute__ ((packed));