diff --git a/tests/test_c_parser.py b/tests/test_c_parser.py index cbba9b68..a48f1c63 100755 --- a/tests/test_c_parser.py +++ b/tests/test_c_parser.py @@ -1236,6 +1236,9 @@ def test_decl_inits(self): self.assertEqual(self.get_decl_init(d54), ['Constant', 'float', '1.0F']) + d55 = 'float ld = 0xDE.38p0;' + self.assertEqual(self.get_decl_init(d55), + ['Constant', 'float', '0xDE.38p0']) def test_decl_named_inits(self): d1 = 'int a = {.k = 16};'