commit | dce29a0efd8aa80cbaf1abdd576a64235798c33f | [log] [tgz] |
---|---|---|
author | eli.bendersky <devnull@localhost> | Thu Feb 10 07:55:00 2011 +0200 |
committer | eli.bendersky <devnull@localhost> | Thu Feb 10 07:55:00 2011 +0200 |
tree | 9150aa779c7593c813cbf60aca3a1c75b8a35a25 | |
parent | 697ecc5cc6a2be281edb41c591e8429a224dd8f3 [diff] [blame] |
some fixes to previous commit + test
diff --git a/tests/test_c_parser.py b/tests/test_c_parser.py index fb58d3d..088c770 100644 --- a/tests/test_c_parser.py +++ b/tests/test_c_parser.py
@@ -768,6 +768,14 @@ ['TypeDecl', ['IdentifierType', ['int']]]]]]]]) + s4 = """ + struct v { + int i; + float; + } v2;""" + + self.assertRaises(ParseError, self.parse, s4) + def test_struct_bitfields(self): # a struct with two bitfields, one unnamed s1 = """