Added support for noexcept specifiers

This commit is contained in:
Armin Ronacher
2011-09-22 11:15:46 +02:00
parent 5542003e96
commit 794e241ba5
2 changed files with 9 additions and 2 deletions
+3
View File
@@ -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 [ ] ()')