Skip to content

Commit 914befe

Browse files
committed
Update LLVM to fix crash on Emscripten targets
Pulls in a bug fix from upstream to resolve #66308. Also adds a small Rust regression test. r? @alexcrichton
1 parent ee84c30 commit 914befe

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/test/ui/issues/issue-66308.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// build-pass
2+
// compile-flags: --crate-type lib
3+
4+
// Regression test for LLVM crash affecting Emscripten targets
5+
6+
pub fn foo() {
7+
(0..0).rev().next();
8+
}

0 commit comments

Comments
 (0)