]> git.lizzy.rs Git - rust.git/blob - tests/debuginfo/pretty-uninitialized-vec.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / debuginfo / pretty-uninitialized-vec.rs
1 // ignore-windows failing on win32 bot
2 // ignore-freebsd: gdb package too new
3 // ignore-android: FIXME(#10381)
4 // compile-flags:-g
5 // min-gdb-version: 8.1
6 // min-lldb-version: 310
7
8 // === GDB TESTS ===================================================================================
9
10 // gdb-command: run
11
12 // gdb-command: print vec
13 // gdb-check:$1 = Vec(size=[...])[...]
14
15
16 #![allow(unused_variables)]
17
18 fn main() {
19
20     let vec;
21     zzz(); // #break
22     vec = vec![0];
23
24 }
25
26 fn zzz() { () }