]> git.lizzy.rs Git - rust.git/commit
Fix LLVM assertion when out-of-bounds indexing in a constant
authorBjörn Steinbrink <bsteinbr@gmail.com>
Wed, 11 Mar 2015 23:19:37 +0000 (00:19 +0100)
committerBjörn Steinbrink <bsteinbr@gmail.com>
Wed, 11 Mar 2015 23:38:22 +0000 (00:38 +0100)
commitde67c3a5bbfc8a9db2dc3d134700046dd6db05b3
treefce2f10fe1581a9a8eea5fafec1391c572202fcf
parentf899513a30165946a75ff7f515ab37a226e72172
Fix LLVM assertion when out-of-bounds indexing in a constant

Fixes #23291
src/librustc_trans/trans/consts.rs
src/test/compile-fail/const-array-oob.rs [new file with mode: 0644]