diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-06-21 07:41:32 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-06-21 07:41:32 +0000 |
commit | 001222523a8d3ed758761916d85432b8dde2b2c2 (patch) | |
tree | 8206e5b30d9b4ee86093d576a833e93615cb060e /test/regression/Results | |
parent | 794b0530851265d08e369ff2eaf791b47b48c829 (diff) | |
download | compcert-001222523a8d3ed758761916d85432b8dde2b2c2.tar.gz compcert-001222523a8d3ed758761916d85432b8dde2b2c2.zip |
Recognize attribute((packed)) after a "struct {...}" and not just between "struct" and "{", for compatibility with GCC.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2285 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test/regression/Results')
-rw-r--r-- | test/regression/Results/packedstruct1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/regression/Results/packedstruct1 b/test/regression/Results/packedstruct1 index 0595cc38..e4bca769 100644 --- a/test/regression/Results/packedstruct1 +++ b/test/regression/Results/packedstruct1 @@ -19,3 +19,7 @@ sizeof(struct s5) = 14 offsetof(x) = 0, offsetof(y) = 2, offsetof(z) = 6 s5 = {x = 123, y = -456, z = 3.14159} +sizeof(struct s6) = 14 +offsetof(x) = 0, offsetof(y) = 2, offsetof(z) = 6 +s62 = {x = 123, y = -456, z = 3.14159} + |