]>
git.proxmox.com Git - rustc.git/blob - src/test/debuginfo/simple-lexical-scope.rs
1 // min-lldb-version: 310
5 // === GDB TESTS ===================================================================================
10 // gdb-check:$1 = false
11 // gdb-command:continue
13 // gdb-command:print x
14 // gdb-check:$2 = false
15 // gdb-command:continue
17 // gdb-command:print x
19 // gdb-command:continue
21 // gdb-command:print x
23 // gdb-command:continue
25 // gdb-command:print x
26 // gdb-check:$5 = 10.5
27 // gdb-command:continue
29 // gdb-command:print x
31 // gdb-command:continue
33 // gdb-command:print x
34 // gdb-check:$7 = false
35 // gdb-command:continue
38 // === LLDB TESTS ==================================================================================
42 // lldb-command:print x
43 // lldbg-check:[...]$0 = false
44 // lldbr-check:(bool) x = false
45 // lldb-command:continue
47 // lldb-command:print x
48 // lldbg-check:[...]$1 = false
49 // lldbr-check:(bool) x = false
50 // lldb-command:continue
52 // lldb-command:print x
53 // lldbg-check:[...]$2 = 10
54 // lldbr-check:(i32) x = 10
55 // lldb-command:continue
57 // lldb-command:print x
58 // lldbg-check:[...]$3 = 10
59 // lldbr-check:(i32) x = 10
60 // lldb-command:continue
62 // lldb-command:print x
63 // lldbg-check:[...]$4 = 10.5
64 // lldbr-check:(f64) x = 10.5
65 // lldb-command:continue
67 // lldb-command:print x
68 // lldbg-check:[...]$5 = 10
69 // lldbr-check:(i32) x = 10
70 // lldb-command:continue
72 // lldb-command:print x
73 // lldbg-check:[...]$6 = false
74 // lldbr-check:(bool) x = false
75 // lldb-command:continue
78 #![feature(omit_gdb_pretty_printer_section)]
79 #![omit_gdb_pretty_printer_section]