Update LLVM to fix crash on Emscripten targets
Adds a small Rust regression test for #66308. r? @alexcrichton
This commit is contained in:
parent
73f76b74ef
commit
7b49c7d743
1 changed files with 8 additions and 0 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
|
||||
|
||||
// Regression test for LLVM crash affecting Emscripten targets
|
||||
|
||||
pub fn foo() {
|
||||
(0..0).rev().next();
|
||||
}
|
Loading…
Add table
Reference in a new issue