summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/test_c_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_c_parser.py b/tests/test_c_parser.py
index cbba9b6..a48f1c6 100755
--- a/tests/test_c_parser.py
+++ b/tests/test_c_parser.py
@@ -1236,6 +1236,9 @@ class TestCParser_fundamentals(TestCParser_base):
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};'