diff options
Diffstat (limited to 'tests/test_decl.rs')
-rw-r--r-- | tests/test_decl.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_decl.rs b/tests/test_decl.rs new file mode 100644 index 00000000..5f83d00b --- /dev/null +++ b/tests/test_decl.rs @@ -0,0 +1,11 @@ +#[test] +fn ptr_to_array() { + assert_bind_eq!("headers/decl_ptr_to_array.h", cx, + quote_item!(cx, + extern "C" { + pub static mut foo: [::libc::c_int, ..1u]; + } + ) + ); + +} |