Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/ext/packed11.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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)); |