1 // Testing the display of range types in cdb.
4 // min-cdb-version: 10.0.18317.1001
7 // === CDB TESTS ==================================================================================
11 // cdb-command: dx r1,d
12 // cdb-check:r1,d : (3..5) [Type: core::ops::range::Range<i32>]
13 // cdb-check: [<Raw View>] [Type: core::ops::range::Range<i32>]
15 // cdb-command: dx r2,d
16 // cdb-check:r2,d : (2..) [Type: core::ops::range::RangeFrom<i32>]
17 // cdb-check: [<Raw View>] [Type: core::ops::range::RangeFrom<i32>]
19 // cdb-command: dx r3,d
20 // cdb-check:r3,d : (1..=4) [Type: core::ops::range::RangeInclusive<i32>]
21 // cdb-check: [<Raw View>] [Type: core::ops::range::RangeInclusive<i32>]
23 // cdb-command: dx r4,d
24 // cdb-check:r4,d : (..10) [Type: core::ops::range::RangeTo<i32>]
25 // cdb-check: [<Raw View>] [Type: core::ops::range::RangeTo<i32>]
27 // cdb-command: dx r5,d
28 // cdb-check:r5,d : (..=3) [Type: core::ops::range::RangeToInclusive<i32>]
29 // cdb-check: [<Raw View>] [Type: core::ops::range::RangeToInclusive<i32>]
31 // cdb-command: dx r6,d
32 // cdb-check:r6,d [Type: core::ops::range::RangeFull]
34 #[allow(unused_variables)]
36 use std::ops::{Range, RangeFrom, RangeFull, RangeInclusive, RangeToInclusive};