mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Added support for noexcept specifiers
This commit is contained in:
@@ -54,6 +54,9 @@ def test_type_definitions():
|
||||
x = 'constexpr int get_value()'
|
||||
assert unicode(parse('function', x)) == x
|
||||
|
||||
x = 'int get_value() const noexcept'
|
||||
assert unicode(parse('function', x)) == x
|
||||
|
||||
|
||||
def test_operators():
|
||||
x = parse('function', 'void operator new [ ] ()')
|
||||
|
||||
Reference in New Issue
Block a user