diff options
Diffstat (limited to 'bindgen-tests/tests/headers/allowlist_basic.hpp')
-rw-r--r-- | bindgen-tests/tests/headers/allowlist_basic.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/allowlist_basic.hpp b/bindgen-tests/tests/headers/allowlist_basic.hpp new file mode 100644 index 00000000..ef858c95 --- /dev/null +++ b/bindgen-tests/tests/headers/allowlist_basic.hpp @@ -0,0 +1,16 @@ +// bindgen-flags: --allowlist-type AllowlistMe + +template<typename T> +class AllowlistMe { + class Inner { + T bar; + }; + + int foo; + Inner bar; +}; + +struct DontAllowlistMe { + void* foo; + double _Complex noComplexGenerated; +}; |