We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f311a2 commit 3bd7bc1Copy full SHA for 3bd7bc1
test/lang/c/test_lexer.py
@@ -199,6 +199,10 @@ def test_lexical_error(self):
199
self.tokenize(src)
200
self.assertEqual("Expected '", cm.exception.msg)
201
202
+ def test_invalid_suffix(self):
203
+ with self.assertRaises(CompilerError) as cm:
204
+ self.tokenize("0xe+1")
205
+
206
def test_float_constant(self):
207
""" Test floating point constant
208
0 commit comments