Skip to content

Commit e70df09

Browse files
committed
Update cdb annotations for unit-type.rs with cdb 10.0.26100.2161
1 parent 94f3dcf commit e70df09

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tests/debuginfo/unit-type.rs

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//@ compile-flags:-g
22

3+
// FIXME(jieyouxu): triple check if this works in CI
4+
//@ min-cdb-version: 10.0.26100.2161
5+
36
// === GDB TESTS ===================================================================================
47

58
// gdb-command: run
@@ -26,18 +29,18 @@
2629
// cdb-check: Breakpoint 0 hit
2730

2831
// cdb-command: dx _ref
29-
// cdb-check: _ref : 0x[...] : () [Type: tuple$<> *]
32+
// cdb-check: _ref : 0x[...] [Type: tuple$<> *]
3033

3134
// cdb-command: dx _ptr
32-
// cdb-check: _ptr : 0x[...] : () [Type: tuple$<> *]
35+
// cdb-check: _ptr : 0x[...] [Type: tuple$<> *]
3336

3437
// cdb-command: dx _local
35-
// cdb-check: _local : () [Type: tuple$<>]
38+
// cdb-check: _local [Type: tuple$<>]
3639

3740
// cdb-command: dx _field,d
3841
// cdb-check: _field,d [Type: unit_type::_TypeContainingUnitField]
3942
// cdb-check: [+0x[...]] _a : 123 [Type: unsigned int]
40-
// cdb-check: [+0x[...]] _unit : () [Type: tuple$<>]
43+
// cdb-check: [+0x[...]] _unit [Type: tuple$<>]
4144
// cdb-check: [+0x[...]] _b : 456 [Type: unsigned __int64]
4245

4346
// Check that we can cast "void pointers" to their actual type in the debugger

0 commit comments

Comments
 (0)