Sign in
rust
/
rust
/
ac3bada2824c8a32fee784e13df8a30ac68fab43
/
.
/
library
/
std
/
src
/
sys
/
alloc
/
windows
/
tests.rs
blob: 1d5614528b12a31e0d45409f7912bb1cf27cf887 [
file
]
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
);
}