summaryrefslogtreecommitdiffstats
path: root/src/test/debuginfo/pretty-uninitialized-vec.rs
blob: 61791f48f4db76683adde4dcbacbed0038a72015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// ignore-windows failing on win32 bot
// ignore-freebsd: gdb package too new
// ignore-android: FIXME(#10381)
// compile-flags:-g
// min-gdb-version: 8.1
// min-lldb-version: 310

// === GDB TESTS ===================================================================================

// gdb-command: run

// gdb-command: print vec
// gdb-check:$1 = Vec(size=[...])[...]


#![allow(unused_variables)]

fn main() {

    let vec;
    zzz(); // #break
    vec = vec![0];

}

fn zzz() { () }