diff options
Diffstat (limited to 'libbindgen/tests/headers/opaque_in_struct.hpp')
-rw-r--r-- | libbindgen/tests/headers/opaque_in_struct.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/opaque_in_struct.hpp b/libbindgen/tests/headers/opaque_in_struct.hpp new file mode 100644 index 00000000..3cffeb20 --- /dev/null +++ b/libbindgen/tests/headers/opaque_in_struct.hpp @@ -0,0 +1,10 @@ + + +/** <div rustbindgen opaque> */ +typedef struct opaque { + int waht; +} opaque; + +struct container { + opaque contained; +}; |