1 // min-lldb-version: 310
5 // === GDB TESTS ===================================================================================
9 // gdb-command:print *a
11 // gdb-command:print *b
12 // gdbg-check:$2 = {__0 = 2, __1 = 3.5}
13 // gdbr-check:$2 = (2, 3.5)
16 // === LLDB TESTS ==================================================================================
19 // lldb-command:print *a
20 // lldbg-check:[...]$0 = 1
21 // lldbr-check:(i32) *a = 1
22 // lldb-command:print *b
23 // lldbg-check:[...]$1 = { 0 = 2 1 = 3.5 }
24 // lldbr-check:((i32, f64)) *b = { 0 = 2 1 = 3.5 }
26 #![allow(unused_variables)]
27 #![feature(omit_gdb_pretty_printer_section)]
28 #![omit_gdb_pretty_printer_section]
32 let b = Box::new((2, 3.5f64));