summaryrefslogtreecommitdiff
path: root/tests/test_cpp_domain.py
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2011-09-22 11:15:46 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2011-09-22 11:15:46 +0200
commit794e241ba51c92678b345363badc7c507accc0e3 (patch)
treef39a3e9c8b9ca9a9dd311a803284e9875330076a /tests/test_cpp_domain.py
parent5542003e96df4311bac4ab50aa478e72cd68f02b (diff)
downloadsphinx-git-794e241ba51c92678b345363badc7c507accc0e3.tar.gz
Added support for noexcept specifiers
Diffstat (limited to 'tests/test_cpp_domain.py')
-rw-r--r--tests/test_cpp_domain.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_cpp_domain.py b/tests/test_cpp_domain.py
index a4e805100..61ad91e7a 100644
--- a/tests/test_cpp_domain.py
+++ b/tests/test_cpp_domain.py
@@ -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 [ ] ()')