diff options
| author | Armin Rigo <arigo@tunes.org> | 2013-06-01 13:34:30 +0200 |
|---|---|---|
| committer | Armin Rigo <arigo@tunes.org> | 2013-06-01 13:34:30 +0200 |
| commit | 65e0f85265fa69be4739c9f7929f5a64d7cff096 (patch) | |
| tree | 8bbe83ca08d9e4fe53285020add051f8dd5c89d6 /testing | |
| parent | 4f5c404e05b19c7767065ac5804661aecd4842ee (diff) | |
| download | cffi-65e0f85265fa69be4739c9f7929f5a64d7cff096.tar.gz | |
Fix MSVC bitfields in all tested cases.
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/test_ffi_backend.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/test_ffi_backend.py b/testing/test_ffi_backend.py index f272a12..750c7f2 100644 --- a/testing/test_ffi_backend.py +++ b/testing/test_ffi_backend.py @@ -137,6 +137,7 @@ class TestBitfield: L = FFI().alignof("long long") self.check("char y; int :0;", 0, 1, 4) self.check("char x; int :0; char y;", 4, 1, 5) + self.check("char x; int :0; int :0; char y;", 4, 1, 5) self.check("char x; long long :0; char y;", L, 1, L + 1) self.check("short x, y; int :0; int :0;", 2, 2, 4) self.check("char x; int :0; short b:1; char y;", 5, 2, 6) |
