]> git.lizzy.rs Git - rust.git/blob - library/std/src/sys/windows/alloc/tests.rs
Rollup merge of #83646 - glittershark:bound-map, r=m-ou-se
[rust.git] / library / std / src / sys / windows / alloc / tests.rs
1 use super::{Header, MIN_ALIGN};
2 use crate::mem;
3
4 #[test]
5 fn alloc_header() {
6     // Header must fit in the padding before an aligned pointer
7     assert!(mem::size_of::<Header>() <= MIN_ALIGN);
8     assert!(mem::align_of::<Header>() <= MIN_ALIGN);
9 }