mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Be explicit about rvalue references.
This commit is contained in:
@@ -49,6 +49,10 @@ def test_type_definitions():
|
||||
assert unicode(parse('type_object', 'long long int foo')) == 'long long foo'
|
||||
|
||||
|
||||
x = 'MyClass::MyClass(MyClass::MyClass&&)'
|
||||
assert unicode(parse('function', x)) == x
|
||||
|
||||
|
||||
def test_operators():
|
||||
x = parse('function', 'void operator new [ ] ()')
|
||||
assert unicode(x) == 'void operator new[]()'
|
||||
|
||||
Reference in New Issue
Block a user