8
8
9
9
// gdb-command:run
10
10
11
- // gdb-command:print *unique
11
+ // gdb-command:print *boxed_with_padding
12
12
// gdbg-check:$1 = {x = 99, y = 999, z = 9999, w = 99999}
13
13
// gdbr-check:$1 = boxed_struct::StructWithSomePadding {x: 99, y: 999, z: 9999, w: 99999}
14
14
15
- // gdb-command:print *unique_dtor
15
+ // gdb-command:print *boxed_with_dtor
16
16
// gdbg-check:$2 = {x = 77, y = 777, z = 7777, w = 77777}
17
17
// gdbr-check:$2 = boxed_struct::StructWithDestructor {x: 77, y: 777, z: 7777, w: 77777}
18
18
21
21
22
22
// lldb-command:run
23
23
24
- // lldb-command:print *unique
24
+ // lldb-command:print *boxed_with_padding
25
25
// lldbg-check:[...]$0 = StructWithSomePadding { x: 99, y: 999, z: 9999, w: 99999 }
26
- // lldbr-check:(boxed_struct::StructWithSomePadding) *unique = StructWithSomePadding { x: 99, y: 999, z: 9999, w: 99999 }
26
+ // lldbr-check:(boxed_struct::StructWithSomePadding) *boxed_with_padding = StructWithSomePadding { x: 99, y: 999, z: 9999, w: 99999 }
27
27
28
- // lldb-command:print *unique_dtor
28
+ // lldb-command:print *boxed_with_dtor
29
29
// lldbg-check:[...]$1 = StructWithDestructor { x: 77, y: 777, z: 7777, w: 77777 }
30
- // lldbr-check:(boxed_struct::StructWithDestructor) *unique_dtor = StructWithDestructor { x: 77, y: 777, z: 7777, w: 77777 }
30
+ // lldbr-check:(boxed_struct::StructWithDestructor) *boxed_with_dtor = StructWithDestructor { x: 77, y: 777, z: 7777, w: 77777 }
31
31
32
32
#![ allow( unused_variables) ]
33
33
#![ feature( box_syntax) ]
@@ -54,9 +54,9 @@ impl Drop for StructWithDestructor {
54
54
55
55
fn main ( ) {
56
56
57
- let unique : Box < _ > = box StructWithSomePadding { x : 99 , y : 999 , z : 9999 , w : 99999 } ;
57
+ let boxed_with_padding : Box < _ > = box StructWithSomePadding { x : 99 , y : 999 , z : 9999 , w : 99999 } ;
58
58
59
- let unique_dtor : Box < _ > = box StructWithDestructor { x : 77 , y : 777 , z : 7777 , w : 77777 } ;
59
+ let boxed_with_dtor : Box < _ > = box StructWithDestructor { x : 77 , y : 777 , z : 7777 , w : 77777 } ;
60
60
zzz ( ) ; // #break
61
61
}
62
62
0 commit comments