1 // min-lldb-version: 310
5 // === GDB TESTS ===================================================================================
10 // gdb-command:print arg1
12 // gdb-command:print arg2
14 // gdb-command:continue
17 // gdb-command:print arg1
19 // gdb-command:print arg2
21 // gdb-command:print arg3
23 // gdb-command:continue
26 // === LLDB TESTS ==================================================================================
31 // lldb-command:print arg1
32 // lldbg-check:[...]$0 = 1
33 // lldbr-check:(isize) arg1 = 1
34 // lldb-command:print arg2
35 // lldbg-check:[...]$1 = 2
36 // lldbr-check:(isize) arg2 = 2
37 // lldb-command:continue
40 // lldb-command:print arg1
41 // lldbg-check:[...]$2 = -3
42 // lldbr-check:(isize) arg1 = -3
43 // lldb-command:print arg2
44 // lldbg-check:[...]$3 = 4.5
45 // lldbr-check:(f64) arg2 = 4.5
46 // lldb-command:print arg3
47 // lldbg-check:[...]$4 = 5
48 // lldbr-check:(usize) arg3 = 5
49 // lldb-command:continue
51 #![feature(omit_gdb_pretty_printer_section)]
52 #![omit_gdb_pretty_printer_section]
60 fn static_method(arg1: isize, arg2: isize) -> isize {
67 Variant1 { x: isize },
69 Variant3(f64, isize, char),
74 fn static_method(arg1: isize, arg2: f64, arg3: usize) -> isize {
81 Struct::static_method(1, 2);
82 Enum::static_method(-3, 4.5, 5);