Update LLVM to fix crash on Emscripten targets

Adds a small Rust regression test for #66308.

r? @alexcrichton
This commit is contained in:
Thomas Lively 2020-01-07 07:03:45 -08:00
parent 73f76b74ef
commit 7b49c7d743

View file

@ -0,0 +1,8 @@
// build-pass
// compile-flags: --crate-type lib
// Regression test for LLVM crash affecting Emscripten targets
pub fn foo() {
(0..0).rev().next();
}