1 // ignore-windows failing on win32 bot
2 // ignore-freebsd: gdb package too new
3 // ignore-android: FIXME(#10381)
5 // min-gdb-version: 8.1
6 // min-lldb-version: 310
8 // === GDB TESTS ===================================================================================
12 // gdb-command: print vec
13 // gdb-check:$1 = Vec(size=1000000000) = {[...]...}
15 // gdb-command: print slice
16 // gdb-check:$2 = &[u8](size=1000000000) = {[...]...}
18 #![allow(unused_variables)]
23 let mut vec
: Vec
<u8> = Vec
::with_capacity(1_000_000_000);
24 unsafe{ vec.set_len(1_000_000_000) }