3 #![allow(improper_ctypes)]
5 // ignore-wasm32-bare no libc to test ffi with
18 #[link(name = "rust_test_helpers", kind = "static")]
20 pub fn get_c_many_params(
32 let null = std::ptr::null();
33 let q = Quad { a: 1, b: 2, c: 3, d: 4 };
34 assert_eq!(rustrt::get_c_many_params(null, null, null, null, q), q.c);