diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-06 12:43:45 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-11-06 12:43:45 +0100 |
commit | 2b77970303764ce1bfb14f29058bde3f5cd635cd (patch) | |
tree | 9cf95f1fcdb6b93ccb52842123fa9b8d0a73a57a /tests/headers/use-core.h | |
parent | 264b847383a51afc30a77d4caa0ae0ab42f3dae8 (diff) |
Test for --use-core.
Diffstat (limited to 'tests/headers/use-core.h')
-rw-r--r-- | tests/headers/use-core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/headers/use-core.h b/tests/headers/use-core.h new file mode 100644 index 00000000..535d2b15 --- /dev/null +++ b/tests/headers/use-core.h @@ -0,0 +1,6 @@ +// bindgen-flags: --use-core --raw-line "extern crate core;" + +struct foo { + int a, b; + void* bar; +}; |