about summary refs log tree commit diff
path: root/tests/debuginfo
diff options
context:
space:
mode:
authorJieyou Xu <jieyouxu@outlook.com>2024-11-17 00:50:54 +0800
committerJieyou Xu <jieyouxu@outlook.com>2024-11-17 00:50:54 +0800
commite70df0909a9f35b4138ac78ffc16fe5a9fb05d00 (patch)
treeb9e81a88fb54f2e64b67c62511963a93c7f9abcf /tests/debuginfo
parent94f3dcf6016203dff3c4033f3024e8a69dc2d757 (diff)
downloadrust-e70df0909a9f35b4138ac78ffc16fe5a9fb05d00.tar.gz
rust-e70df0909a9f35b4138ac78ffc16fe5a9fb05d00.zip
Update cdb annotations for `unit-type.rs` with cdb `10.0.26100.2161`
Diffstat (limited to 'tests/debuginfo')
-rw-r--r--tests/debuginfo/unit-type.rs11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/debuginfo/unit-type.rs b/tests/debuginfo/unit-type.rs
index 42c0ff11f71..0ffa2fe490a 100644
--- a/tests/debuginfo/unit-type.rs
+++ b/tests/debuginfo/unit-type.rs
@@ -1,5 +1,8 @@
 //@ compile-flags:-g
 
+// FIXME(jieyouxu): triple check if this works in CI
+//@ min-cdb-version: 10.0.26100.2161
+
 // === GDB TESTS ===================================================================================
 
 // gdb-command: run
@@ -26,18 +29,18 @@
 // cdb-check: Breakpoint 0 hit
 
 // cdb-command: dx _ref
-// cdb-check: _ref             : 0x[...] : () [Type: tuple$<> *]
+// cdb-check: _ref             : 0x[...] [Type: tuple$<> *]
 
 // cdb-command: dx _ptr
-// cdb-check: _ptr             : 0x[...] : () [Type: tuple$<> *]
+// cdb-check: _ptr             : 0x[...] [Type: tuple$<> *]
 
 // cdb-command: dx _local
-// cdb-check: _local           : () [Type: tuple$<>]
+// cdb-check: _local           [Type: tuple$<>]
 
 // cdb-command: dx _field,d
 // cdb-check: _field,d         [Type: unit_type::_TypeContainingUnitField]
 // cdb-check:     [+0x[...]] _a               : 123 [Type: unsigned int]
-// cdb-check:     [+0x[...]] _unit            : () [Type: tuple$<>]
+// cdb-check:     [+0x[...]] _unit            [Type: tuple$<>]
 // cdb-check:     [+0x[...]] _b               : 456 [Type: unsigned __int64]
 
 // Check that we can cast "void pointers" to their actual type in the debugger