Add test for parsing a hex float constant to the right type
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 @@
         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};'