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
This commit is contained in:
commit
8ad83afe5b
2 changed files with 9 additions and 1 deletions
8
src/test/ui/issues/issue-66308.rs
Normal file
8
src/test/ui/issues/issue-66308.rs
Normal file
|
|
@ -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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue