summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-05-29 02:13:54 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-05-29 02:13:54 +0900
commit98f10216c7d9694e96a3fbc23d2e8c19250b7d2f (patch)
treefa02c1d48e45ef0bc965e44afe17d0d341c64e94 /tests/test_domain_cpp.py
parent72011465ade6a20a33df2daf91d30f287dfeb662 (diff)
parente0e0d917a6a02ea74d99e044c506cd73dfdd06d4 (diff)
downloadsphinx-git-98f10216c7d9694e96a3fbc23d2e8c19250b7d2f.tar.gz
Merge branch '1.7'
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r--tests/test_domain_cpp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py
index 759b0b74b..972448b05 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -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")