diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2011-09-22 10:43:24 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2011-09-22 10:43:24 +0200 |
commit | 9e43f54600bcdc8adb7193d6eaa98fc7d017535e (patch) | |
tree | 455ff9eca9346647868d1c28944d0acafd35aaec /tests/test_cpp_domain.py | |
parent | 55935bdd04aab5da256015b2af25ba0d842d89a0 (diff) | |
download | sphinx-git-9e43f54600bcdc8adb7193d6eaa98fc7d017535e.tar.gz |
Added support for constexpr in function signatures
Diffstat (limited to 'tests/test_cpp_domain.py')
-rw-r--r-- | tests/test_cpp_domain.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_cpp_domain.py b/tests/test_cpp_domain.py index eb08c6085..a4e805100 100644 --- a/tests/test_cpp_domain.py +++ b/tests/test_cpp_domain.py @@ -48,10 +48,12 @@ 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 + x = 'constexpr int get_value()' + assert unicode(parse('function', x)) == x + def test_operators(): x = parse('function', 'void operator new [ ] ()') |