Reproduce: http://is.gd/rk75YC Inlined: ``` rust const FOO: [u32; 3] = [1, 2, 3]; const BAR: u32 = FOO[5]; fn main() { let _ = BAR; } ``` Error: ``` ustc: /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/IR/Constants.cpp:2189: static llvm::Constant* llvm::ConstantExpr::getExtractValue(llvm::Constant*, llvm::ArrayRef<unsigned int>, llvm::Type*): Assertion `ReqTy && "extractvalue indices invalid!"' failed. Aborted (core dumped) playpen: application terminated with error code 134 ```