summaryrefslogtreecommitdiff
path: root/tests/test_cpp_domain.py
diff options
context:
space:
mode:
authorVictor Zverovich <victor.zverovich@gmail.com>2014-05-12 08:12:37 -0700
committerVictor Zverovich <victor.zverovich@gmail.com>2014-05-12 08:12:37 -0700
commit6e56a12d4a01450076a54400f172d5b8a969e491 (patch)
tree51b8ef10bf29aeeec1bd7969e0afb29f5c1bbe52 /tests/test_cpp_domain.py
parent191f29279f8b04597dacec7037ed7fd0414a6d6e (diff)
downloadsphinx-git-6e56a12d4a01450076a54400f172d5b8a969e491.tar.gz
Add support for variadic templates in C++ domain
Diffstat (limited to 'tests/test_cpp_domain.py')
-rw-r--r--tests/test_cpp_domain.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_cpp_domain.py b/tests/test_cpp_domain.py
index 8e1cb22bb..ba3045297 100644
--- a/tests/test_cpp_domain.py
+++ b/tests/test_cpp_domain.py
@@ -124,6 +124,8 @@ def test_type_definitions():
x = 'int foo(D d=x(a'
raises(DefinitionError, parse, 'function', x)
+ x = 'int foo(const A&... a)'
+ assert unicode(parse('function', x)) == x
def test_bases():
x = 'A'