diff options
Diffstat (limited to 'tests/headers/use-core_1_0.h')
-rw-r--r-- | tests/headers/use-core_1_0.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/headers/use-core_1_0.h b/tests/headers/use-core_1_0.h new file mode 100644 index 00000000..afa54d42 --- /dev/null +++ b/tests/headers/use-core_1_0.h @@ -0,0 +1,13 @@ +// bindgen-flags: --rust-target 1.0 --use-core --raw-line "extern crate core;" + +struct foo { + int a, b; + void* bar; +}; + +union { + int bar; + long baz; +} bazz; + +typedef void (*fooFunction)(int bar); |