|
31 | 31 | // cdb-check:r,d : 42 [Type: alloc::rc::Rc<i32>] |
32 | 32 | // cdb-check: [<Raw View>] [Type: alloc::rc::Rc<i32>] |
33 | 33 | // cdb-check: [Reference count] : 2 [Type: core::cell::Cell<usize>] |
| 34 | +// cdb-check: [Weak reference count] : 2 [Type: core::cell::Cell<usize>] |
34 | 35 |
|
35 | 36 | // cdb-command:dx r1,d |
36 | 37 | // cdb-check:r1,d : 42 [Type: alloc::rc::Rc<i32>] |
37 | 38 | // cdb-check: [<Raw View>] [Type: alloc::rc::Rc<i32>] |
38 | 39 | // cdb-check: [Reference count] : 2 [Type: core::cell::Cell<usize>] |
| 40 | +// cdb-check: [Weak reference count] : 2 [Type: core::cell::Cell<usize>] |
39 | 41 |
|
40 | 42 | // cdb-command:dx w1,d |
41 | 43 | // cdb-check:w1,d : 42 [Type: alloc::rc::Weak<i32>] |
42 | 44 | // cdb-check: [<Raw View>] [Type: alloc::rc::Weak<i32>] |
| 45 | +// cdb-check: [Reference count] : 2 [Type: core::cell::Cell<usize>] |
| 46 | +// cdb-check: [Weak reference count] : 2 [Type: core::cell::Cell<usize>] |
43 | 47 |
|
44 | 48 | // cdb-command:dx a,d |
45 | 49 | // cdb-check:a,d : 42 [Type: alloc::sync::Arc<i32>] |
46 | 50 | // cdb-check: [<Raw View>] [Type: alloc::sync::Arc<i32>] |
47 | 51 | // cdb-check: [Reference count] : 2 [Type: core::sync::atomic::AtomicUsize] |
| 52 | +// cdb-check: [Weak reference count] : 2 [Type: core::sync::atomic::AtomicUsize] |
48 | 53 |
|
49 | 54 | // cdb-command:dx a1,d |
50 | 55 | // cdb-check:a1,d : 42 [Type: alloc::sync::Arc<i32>] |
51 | 56 | // cdb-check: [<Raw View>] [Type: alloc::sync::Arc<i32>] |
52 | 57 | // cdb-check: [Reference count] : 2 [Type: core::sync::atomic::AtomicUsize] |
| 58 | +// cdb-check: [Weak reference count] : 2 [Type: core::sync::atomic::AtomicUsize] |
53 | 59 |
|
54 | 60 | // cdb-command:dx w2,d |
55 | 61 | // cdb-check:w2,d : 42 [Type: alloc::sync::Weak<i32>] |
56 | 62 | // cdb-check: [<Raw View>] [Type: alloc::sync::Weak<i32>] |
| 63 | +// cdb-check: [Reference count] : 2 [Type: core::sync::atomic::AtomicUsize] |
| 64 | +// cdb-check: [Weak reference count] : 2 [Type: core::sync::atomic::AtomicUsize] |
57 | 65 |
|
58 | 66 | use std::rc::Rc; |
59 | 67 | use std::sync::Arc; |
|
0 commit comments