rust/tests/ui/issues/issue-66308.rs

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

9 lines
171 B
Rust
Raw Normal View History

// build-pass
2020-01-24 18:25:30 +00: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();
}