Skip to content

Commit

Permalink
Auto merge of #68525 - tlively:emcc-codegen-sigsegv-66308, r=alexcric…
Browse files Browse the repository at this point in the history
…hton

Update LLVM to fix crash on Emscripten targets

Fixes #66308 (for real this time). r? @alexcrichton
  • Loading branch information
bors committed Jan 25, 2020
2 parents 3bf71b3 + 110871a commit 8ad83af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/test/ui/issues/issue-66308.rs
Original file line number Diff line number Diff line change
@@ -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();
}

0 comments on commit 8ad83af

Please sign in to comment.