diff options
author | Jyun-Yan You <jyyou.tw@gmail.com> | 2015-01-01 00:05:49 +0800 |
---|---|---|
committer | Jyun-Yan You <jyyou.tw@gmail.com> | 2015-01-01 00:05:49 +0800 |
commit | 4482a25cb4657cf1ce280999db37b7beb843f6bc (patch) | |
tree | 0ce2ea417532f552503b764d420a57e224c96918 /tests/forward_declared_struct.rs | |
parent | e81f8e2420b7aff83207ec18d866c3af096da016 (diff) | |
parent | 97945161d298bb89f7f1ea015c5cc54acc9e7c43 (diff) |
Merge branch 'func_proto' of https://github.com/chris-chambers/rust-bindgen
Conflicts:
src/parser.rs
tests/forward_declared_struct.rs
tests/test_struct.rs
Diffstat (limited to 'tests/forward_declared_struct.rs')
-rw-r--r-- | tests/forward_declared_struct.rs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/forward_declared_struct.rs b/tests/forward_declared_struct.rs deleted file mode 100644 index efd48e30..00000000 --- a/tests/forward_declared_struct.rs +++ /dev/null @@ -1,23 +0,0 @@ -#![feature(phase)] - -#[phase(plugin)] -extern crate bindgen; - -extern crate libc; - -#[test] -fn test_struct_containing_forward_declared_struct() { - mod ffi { bindgen!("headers/struct_containing_forward_declared_struct.h"); } - // Check that struct b is not duplicated -} - -#[test] -fn test_forward_declared_struct() { - mod ffi { bindgen!("headers/forward_declared_struct.h"); } - - let a = ffi::Struct_a { b: 1 }; - let c = ffi::Struct_c { d: 1 }; - - a.b; - c.d; -}
\ No newline at end of file |