Auto merge of #68525 - tlively:emcc-codegen-sigsegv-66308, r=alexcrichton

Update LLVM to fix crash on Emscripten targets

Fixes #66308 (for real this time). r? @alexcrichton
This commit is contained in:
bors 2020-01-25 16:34:53 +00:00
commit 8ad83afe5b
2 changed files with 9 additions and 1 deletions

View file

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