summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-66308.rs
blob: 8460b359ae38a9c50bbeca5a4d6373c12c894d24 (plain)
1
2
3
4
5
6
7
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();
}