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

11 lines
139 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;
pub fn main() {
assert_eq!(mem::size_of::<packed::S>(), 5);
2013-05-06 09:35:27 -05:00
}