]> git.lizzy.rs Git - rust.git/blob - tests/run-pass/integer_align_offset.rs
Throw unsupported error when alignment is not a power of two
[rust.git] / tests / run-pass / integer_align_offset.rs
1 fn main() {
2     assert_eq!(2, (2 as *const i8).align_offset(4));
3 }