mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Support varargs in C++ function signatures.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user