summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2013-06-01 01:03:54 +0200
committerArmin Rigo <arigo@tunes.org>2013-06-01 01:03:54 +0200
commit3ca51e3ee5ef05a6154eef5cd376e73b2129c40e (patch)
tree5a01b899cfa9c34e882154635ab51eb58508fdea /testing
parent6427b49ed312c59e33bc8e315c34dd2f7d3bf035 (diff)
downloadcffi-3ca51e3ee5ef05a6154eef5cd376e73b2129c40e.tar.gz
One more test
Diffstat (limited to 'testing')
-rw-r--r--testing/test_ffi_backend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/test_ffi_backend.py b/testing/test_ffi_backend.py
index 9640cff..f647fa7 100644
--- a/testing/test_ffi_backend.py
+++ b/testing/test_ffi_backend.py
@@ -138,6 +138,7 @@ class TestBitfield:
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)
+ self.check("int a:1; int :0; int b:1; char y;", 5, 4, 8)
def test_error_cases(self):
ffi = FFI()