diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-21 10:19:05 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-21 19:18:29 +0100 |
commit | 91f279f735e3501cd738e4bff0371b41a830410c (patch) | |
tree | a581696fdec9b6614812473509e6798f67457635 /libbindgen/tests/headers/templateref_opaque.hpp | |
parent | 326796e6af5e05135427fd42475ca20f2de38a41 (diff) |
ir: Pass the location instead of the declaration for TemplateRef's.
Diffstat (limited to 'libbindgen/tests/headers/templateref_opaque.hpp')
-rw-r--r-- | libbindgen/tests/headers/templateref_opaque.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/templateref_opaque.hpp b/libbindgen/tests/headers/templateref_opaque.hpp new file mode 100644 index 00000000..ca154c34 --- /dev/null +++ b/libbindgen/tests/headers/templateref_opaque.hpp @@ -0,0 +1,11 @@ + +namespace detail { +template<typename T> +struct PointerType { + typedef T* Type; +}; +} +template<typename T> +class UniquePtr { + typedef typename detail::PointerType<T> Pointer; +}; |