Files
rust/tests/ui/codegen/emscripten-llvm-crash-regression-66308.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
223 B
Rust
Raw Normal View History

2025-08-20 14:02:57 -04:00
// https://github.com/rust-lang/rust/issues/66308
//@ build-pass
2020-01-24 10:25:30 -08:00
//@ compile-flags: --crate-type lib -C opt-level=0
// Regression test for LLVM crash affecting Emscripten targets
pub fn foo() {
(0..0).rev().next();
}