Skip to content

Commit

Permalink
Make alignment-forcing case work the same on 64 and 32-bit platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Aatch committed Dec 23, 2014
1 parent fe7adfe commit b473311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/run-pass/type-sizes.rs
Expand Up @@ -26,7 +26,7 @@ enum e2 {
}

enum e3 {
a([u64, ..0], u32), b
a([u16, ..0], u8), b
}

pub fn main() {
Expand All @@ -51,5 +51,5 @@ pub fn main() {

assert_eq!(size_of::<e1>(), 8 as uint);
assert_eq!(size_of::<e2>(), 8 as uint);
assert_eq!(size_of::<e3>(), 16 as uint);
assert_eq!(size_of::<e3>(), 4 as uint);
}

2 comments on commit b473311

@Aatch
Copy link
Owner Author

@Aatch Aatch commented on b473311 Dec 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=alexcrichton

@alexcrichton
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors: retry

Please sign in to comment.