From 396228953f90b8db1cb9121dcc882815c26cd69b Mon Sep 17 00:00:00 2001 From: Jakob Lykke Andersen Date: Sun, 14 Apr 2019 11:05:32 +0200 Subject: C++, allow 8 and 9 in hexadecimal integer literals. Fixes sphinx-doc/sphinx#6286. --- tests/test_domain_cpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_domain_cpp.py') diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index d6470dc7c..c81d66b17 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -114,7 +114,7 @@ def test_expressions(): exprCheck('nullptr', 'LDnE') exprCheck('true', 'L1E') exprCheck('false', 'L0E') - ints = ['5', '0', '075', '0xF', '0XF', '0b1', '0B1'] + ints = ['5', '0', '075', '0x0123456789ABCDEF', '0XF', '0b1', '0B1'] unsignedSuffix = ['', 'u', 'U'] longSuffix = ['', 'l', 'L', 'll', 'LL'] for i in ints: -- cgit v1.2.1