about summary refs log tree commit diff
path: root/library/std/src/sys/alloc/windows/tests.rs
blob: 1d5614528b12a31e0d45409f7912bb1cf27cf887 (plain)
1
2
3
4
5
6
7
8
use super::{Header, MIN_ALIGN};

#[test]
fn alloc_header() {
    // Header must fit in the padding before an aligned pointer
    assert!(size_of::<Header>() <= MIN_ALIGN);
    assert!(align_of::<Header>() <= MIN_ALIGN);
}