Skip to content

Commit

Permalink
Update LLVM to fix crash on Emscripten targets
Browse files Browse the repository at this point in the history
Pulls in a bug fix from upstream to resolve #66308. Also adds a small
Rust regression test.

r? @alexcrichton
  • Loading branch information
tlively committed Jan 7, 2020
1 parent ee84c30 commit 914befe
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

// Regression test for LLVM crash affecting Emscripten targets

pub fn foo() {
(0..0).rev().next();
}

0 comments on commit 914befe

Please sign in to comment.