Fix extern-pass-empty test, which needed repr(C)

This commit is contained in:
Austin Hicks 2016-11-18 14:20:02 -05:00
parent 1969aeb3d7
commit 27469037d7

View File

@ -14,11 +14,13 @@
// ignore-msvc
// ignore-emscripten
#[repr(C)]
struct TwoU8s {
one: u8,
two: u8,
}
#[repr(C)]
struct ManyInts {
arg1: i8,
arg2: i16,
@ -28,6 +30,7 @@ struct ManyInts {
arg6: TwoU8s,
}
#[repr(C)]
struct Empty;
#[link(name = "rust_test_helpers", kind = "static")]