diff options
author | Travis Finkenauer <tmfinken@gmail.com> | 2017-06-16 02:14:17 -0700 |
---|---|---|
committer | Travis Finkenauer <tmfinken@gmail.com> | 2017-06-16 02:14:17 -0700 |
commit | de155b914d97dd382fa17e56ee9555a012469c5e (patch) | |
tree | 5ea5c7db08562f052dc6d2fc9e1e156a26441dc1 /tests/headers/constify-module-enums-types.hpp | |
parent | 977ec6f7b1cafc14e2550e2ced49eaa584ee1297 (diff) |
Add constified module enum template test
Diffstat (limited to 'tests/headers/constify-module-enums-types.hpp')
-rw-r--r-- | tests/headers/constify-module-enums-types.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/headers/constify-module-enums-types.hpp b/tests/headers/constify-module-enums-types.hpp index 5a40157f..1570654f 100644 --- a/tests/headers/constify-module-enums-types.hpp +++ b/tests/headers/constify-module-enums-types.hpp @@ -27,4 +27,12 @@ typedef struct bar { } bar; foo *func1(foo arg1, foo *arg2, foo **arg3); -foo_alias1 *func2(foo_alias1 arg1, foo_alias1 *arg2, foo_alias1 **arg3);
\ No newline at end of file +foo_alias1 *func2(foo_alias1 arg1, foo_alias1 *arg2, foo_alias1 **arg3); + +template <class T> +class Thing { + T thing; + T& get_thing(); +}; + +foo func3(Thing<foo> arg1);
\ No newline at end of file |