auto merge of #6265 : sanxiyn/rust/xc-packed, r=nikomatsakis

This commit is contained in:
bors 2013-05-06 11:30:48 -07:00
commit a5891bebc1
3 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,5 @@
#[packed]
struct S {
a: u8,
b: u32
}

View file

@ -0,0 +1,8 @@
// xfail-fast
// aux-build:packed.rs
extern mod packed;
fn main() {
assert_eq!(sys::size_of::<packed::S>(), 5);
}