diff options
Diffstat (limited to 'tests/expectations/const_tparam.rs')
-rw-r--r-- | tests/expectations/const_tparam.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/expectations/const_tparam.rs b/tests/expectations/const_tparam.rs new file mode 100644 index 00000000..59649626 --- /dev/null +++ b/tests/expectations/const_tparam.rs @@ -0,0 +1,11 @@ +/* automatically generated by rust-bindgen */ + + +#![allow(non_snake_case)] + + +#[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct C<T> { + pub foo: *mut T, +} |