diff options
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 [ ] ()') |