diff options
| author | Chris Pickel <sfiera@gmail.com> | 2011-04-19 22:22:33 -0400 |
|---|---|---|
| committer | Chris Pickel <sfiera@gmail.com> | 2011-04-19 22:22:33 -0400 |
| commit | 0e589964899503542455e46f063c2aa23043e838 (patch) | |
| tree | 41d63c1cc51a20a7d9c0eb8a1426dbd2ddcc6104 /tests | |
| parent | b89dc43f76adb5af0c06672bf093747f04cc2f0f (diff) | |
| download | sphinx-0e589964899503542455e46f063c2aa23043e838.tar.gz | |
Support varargs in C++ function signatures.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_cpp_domain.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_cpp_domain.py b/tests/test_cpp_domain.py index 296de1c8..84649fd1 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 |
