3 #![allow(improper_ctypes)]
6 // Incorrect struct size computation in the FFI, because of not taking
7 // the alignment of elements into account.
9 // pretty-expanded FIXME #23616
10 // ignore-wasm32-bare no libc to test with
12 #![feature(rustc_private)]
15 use libc::{c_uint, c_void};
18 hash_algorithm: [c_uint; 2],
25 // Bogus signature, just need to test if it compiles.
26 pub fn malloc(data: KEYGEN);