]> git.lizzy.rs Git - rust.git/blob - src/test/debuginfo/should-fail.rs
Auto merge of #68528 - ecstatic-morse:maybe-init-variants, r=oli-obk
[rust.git] / src / test / debuginfo / should-fail.rs
1 // min-lldb-version: 310
2
3 // == Test [gdb|lldb]-[command|check] are parsed correctly ===
4 // should-fail
5 // compile-flags:-g
6
7 // === GDB TESTS ===================================================================================
8
9 // gdb-command: run
10
11 // gdb-command: print x
12 // gdb-check:$1 = 5
13
14 // === LLDB TESTS ==================================================================================
15
16 // lldb-command:run
17
18 // lldb-command:print x
19 // lldb-check:[...]$0 = 5
20
21 // === CDB TESTS ==================================================================================
22
23 // cdb-command:g
24
25 // cdb-command:dx x
26 // cdb-check:string [...] : 5 [Type: [...]]
27
28 fn main() {
29     let x = 1;
30
31     zzz(); // #break
32 }
33
34 fn zzz() {()}