Skip to content

Commit

Permalink
Update LLVM to fix crash on Emscripten targets
Browse files Browse the repository at this point in the history
Adds a small Rust regression test for rust-lang#66308.

r? @alexcrichton
  • Loading branch information
tlively committed Jan 24, 2020
1 parent 73f76b7 commit 7b49c7d
Showing 1 changed file with 8 additions and 0 deletions.
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 7b49c7d

Please sign in to comment.