rust/src/test/run-pass/packed-struct-size-xc.rs

11 lines
135 B
Rust
Raw Normal View History

2013-05-06 09:35:27 -05:00
// xfail-fast
// aux-build:packed.rs
extern mod packed;
use std::mem;
2013-05-06 09:35:27 -05:00
fn main() {
assert_eq!(mem::size_of::<packed::S>(), 5);
2013-05-06 09:35:27 -05:00
}