summaryrefslogtreecommitdiff
path: root/tests/test_cpp_domain.py
diff options
context:
space:
mode:
authorTakayuki Shimizukawa <shimizukawa@gmail.com>2014-05-28 00:08:48 +0900
committerTakayuki Shimizukawa <shimizukawa@gmail.com>2014-05-28 00:08:48 +0900
commita8c2bd4f1fd8800a2bcc529737652d0451f204e6 (patch)
tree209431e7c8f4ff28f2cbc9e579aeeb570418f41a /tests/test_cpp_domain.py
parent6746c83a188e208041e0463c4e3fc5fb15316b07 (diff)
parent6e56a12d4a01450076a54400f172d5b8a969e491 (diff)
downloadsphinx-git-a8c2bd4f1fd8800a2bcc529737652d0451f204e6.tar.gz
Merged in vitaut/sphinx/cpp-variadic (pull request #241)
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 1fec2ba29..5a0b8b6f6 100644
--- a/tests/test_cpp_domain.py
+++ b/tests/test_cpp_domain.py
@@ -126,6 +126,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'