2024-08-11 14:25:00 -04:00
|
|
|
//@ ignore-windows-gnu: #128981
|
2016-07-04 02:43:33 +02:00
|
|
|
//@ ignore-android: FIXME(#10381)
|
|
|
|
//@ compile-flags:-g
|
|
|
|
|
|
|
|
// === GDB TESTS ===================================================================================
|
|
|
|
|
|
|
|
// gdb-command: run
|
|
|
|
|
|
|
|
// gdb-command: print vec
|
2019-05-14 15:50:58 +03:00
|
|
|
// gdb-check:$1 = Vec(size=[...])[...]
|
2016-07-04 02:43:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
#![allow(unused_variables)]
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
|
|
|
let vec;
|
|
|
|
zzz(); // #break
|
|
|
|
vec = vec![0];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
fn zzz() { () }
|