]> git.lizzy.rs Git - rust.git/commit
Add a test for const unsafe_unreachable that triggers UB
authorNazım Can Altınova <canaltinova@gmail.com>
Fri, 17 Jul 2020 20:03:33 +0000 (22:03 +0200)
committerNazım Can Altınova <canaltinova@gmail.com>
Fri, 17 Jul 2020 20:03:33 +0000 (22:03 +0200)
commitc45e9c86ca5e1aa20ec8ec9904c4ad9a33a072e5
tree67cbf84c100d88483c93ac57d996c4eb20bb88ec
parent2f28d5945dab495a77c67c6051eea116ce9ceee2
Add a test for const unsafe_unreachable that triggers UB
src/test/ui/consts/const_unsafe_unreachable_ub.rs [new file with mode: 0644]
src/test/ui/consts/const_unsafe_unreachable_ub.stderr [new file with mode: 0644]