diff options
Diffstat (limited to 'tests/headers/derive-debug-opaque-template-instantiation.hpp')
-rw-r--r-- | tests/headers/derive-debug-opaque-template-instantiation.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headers/derive-debug-opaque-template-instantiation.hpp b/tests/headers/derive-debug-opaque-template-instantiation.hpp new file mode 100644 index 00000000..555ba826 --- /dev/null +++ b/tests/headers/derive-debug-opaque-template-instantiation.hpp @@ -0,0 +1,10 @@ +// bindgen-flags: --force-derive-debug + +template<typename T, int N> +class Opaque { + T array[N]; +}; + +class Instance { + Opaque<int, 50> val; +}; |