]> git.lizzy.rs Git - rust.git/commit
Make sure we notice when a u16 is loaded at offset 1 into a u8 allocation
authorRalf Jung <post@ralfj.de>
Wed, 2 Mar 2022 18:06:28 +0000 (13:06 -0500)
committerRalf Jung <post@ralfj.de>
Wed, 2 Mar 2022 18:06:28 +0000 (13:06 -0500)
commit798dc5a78ac9b0016c9b5c193bf8c7dea73ef908
treead5ce030b908255f54eb4b1ac7be991c11b75268
parentc6b3f687d5d9917b626f80a730552a185052ff28
Make sure we notice when a u16 is loaded at offset 1 into a u8 allocation
tests/compile-fail/unaligned_pointers/unaligned_ptr4.rs [new file with mode: 0644]