summaryrefslogtreecommitdiff
path: root/tests/test_cpp_domain.py
diff options
context:
space:
mode:
authorChris Pickel <sfiera@sfzmail.com>2011-04-19 22:22:33 -0400
committerChris Pickel <sfiera@sfzmail.com>2011-04-19 22:22:33 -0400
commit7aef73271a67142882211db3edf65e00f475efc9 (patch)
tree41d63c1cc51a20a7d9c0eb8a1426dbd2ddcc6104 /tests/test_cpp_domain.py
parent3c2662580a1b9127ae4c31d666d2fd0314e2a785 (diff)
downloadsphinx-git-7aef73271a67142882211db3edf65e00f475efc9.tar.gz
Support varargs in C++ function signatures.
Diffstat (limited to 'tests/test_cpp_domain.py')
-rw-r--r--tests/test_cpp_domain.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_cpp_domain.py b/tests/test_cpp_domain.py
index 296de1c87..84649fd1b 100644
--- a/tests/test_cpp_domain.py
+++ b/tests/test_cpp_domain.py
@@ -37,6 +37,9 @@ def test_type_definitions():
x = 'explicit module::myclass::foo::foo()'
assert unicode(parse('function', x)) == x
+ x = 'int printf(const char* fmt, ...)'
+ assert unicode(parse('function', x)) == x
+
x = 'std::vector<std::pair<std::string, long long>> module::blah'
assert unicode(parse('type_object', x)) == x