summaryrefslogtreecommitdiffstats
path: root/src/test/debuginfo/lexical-scope-in-parameterless-closure.rs
blob: d6b947fad8e124fd6aa5bfe5e903339a1f8e8788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// min-lldb-version: 310

// compile-flags:-C debuginfo=1

// gdb-command:run
// lldb-command:run

// Nothing to do here really, just make sure it compiles. See issue #8513.
fn main() {
    let _ = ||();
    let _ = (1_usize..3).map(|_| 5);
}