C++: parse pack expansions in function calls.

This commit is contained in:
lucdanton
2018-05-23 03:58:39 +02:00
committed by Jakob Lykke Andersen
parent 0d96401c43
commit b839a7cf0e
3 changed files with 28 additions and 1 deletions

View File

@@ -214,6 +214,9 @@ def test_expressions():
exprCheck('operator()()', 'clclE')
exprCheck('operator()<int>()', 'clclIiEE')
# pack expansion
exprCheck('a(b(c, 1 + d...)..., e(f..., g))', 'cl1aspcl1b1cspplL1E1dEcl1esp1f1gEE')
def test_type_definitions():
check("type", "public bool b", {1: "b", 2: "1b"}, "bool b")