PR c++/85553
[official-gcc.git] / gcc / testsuite / g++.dg / ext / packed11.C
blobe75845d9315247cdfc84b4ee646a268ff7f92de4
1 // PR c++/26670
3 struct nonpod {
4   nonpod();
5 };
7 struct nonpod_pack {
8   nonpod n;                   // { dg-warning "ignoring packed attribute" }
9 } __attribute__ ((packed));
11 struct nonpod_pack2 {
12   nonpod_pack p;              // { dg-warning "ignoring packed attribute" }
13 } __attribute__ ((packed));