1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 // Test a foreign function that accepts empty struct.
13 // pretty-expanded FIXME #23616
33 #[link(name = "rust_test_helpers")]
35 fn rust_dbg_extern_empty_struct(v1
: ManyInts
, e
: Empty
, v2
: ManyInts
);
46 arg6
: TwoU8s { one: 7, two: 8, }
54 arg6
: TwoU8s { one: 6, two: 7, }
57 rust_dbg_extern_empty_struct(x
, empty
, y
);