Skip to content

Commit 8ad83af

Browse files
committed
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
2 parents 3bf71b3 + 110871a commit 8ad83af

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 -C opt-level=0
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)