diff options
Diffstat (limited to 'bindgen-tests/tests/headers/opaque_in_struct.hpp')
-rw-r--r-- | bindgen-tests/tests/headers/opaque_in_struct.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/opaque_in_struct.hpp b/bindgen-tests/tests/headers/opaque_in_struct.hpp new file mode 100644 index 00000000..12910e1f --- /dev/null +++ b/bindgen-tests/tests/headers/opaque_in_struct.hpp @@ -0,0 +1,11 @@ +// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq + + +/** <div rustbindgen opaque> */ +typedef struct opaque { + int waht; +} opaque; + +struct container { + opaque contained; +}; |