diff options
Diffstat (limited to 'tests/test_domain_cpp.py')
| -rw-r--r-- | tests/test_domain_cpp.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index f33e88128..778ac1c55 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -132,6 +132,11 @@ def test_type_definitions(): check('type', 'A = B', None, '1A') + # from breathe#267 (named function parameters for function pointers + check('type', 'void (*gpio_callback_t)(struct device *port, uint32_t pin)', + 'gpio_callback_t', '15gpio_callback_t') + check('type', 'void (*f)(std::function<void(int i)> g)', 'f', '1f') + def test_member_definitions(): check('member', ' const std::string & name = 42', |
