]> git.lizzy.rs Git - rust.git/commit
make sure '&raw *' on a dangling raw ptr is UB
authorRalf Jung <post@ralfj.de>
Sat, 20 Jun 2020 12:28:55 +0000 (14:28 +0200)
committerRalf Jung <post@ralfj.de>
Sat, 20 Jun 2020 12:28:55 +0000 (14:28 +0200)
commita29f86b512a0a6a353c11f44af768da6bdc5c782
tree4aeb330e5042ce0bfee40909b821ae578ea14988
parent59619775ee44a5e0c875efffc4ca55ae96fca7dc
make sure '&raw *' on a dangling raw ptr is UB
tests/compile-fail/dangling_pointers/dangling_pointer_addr_of.rs [new file with mode: 0644]