about summary refs log tree commit diff
path: root/src/test/debuginfo
diff options
context:
space:
mode:
authorPhilip Craig <philipjcraig@gmail.com>2017-01-01 17:46:15 +1000
committerPhilip Craig <philipjcraig@gmail.com>2017-01-01 19:34:06 +1000
commit1765a3fd30b12e8647e79f9caf873c800df42bf9 (patch)
tree1d7d0ca42f626785f0140dc4adc417a6eed8d7a2 /src/test/debuginfo
parent08babdb412a87960fe3602e92abf1bf5fe26a8da (diff)
Add pretty printing of unions in debuggers
Fixes #37479
Diffstat (limited to 'src/test/debuginfo')
-rw-r--r--src/test/debuginfo/union-smoke.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/debuginfo/union-smoke.rs b/src/test/debuginfo/union-smoke.rs
index ada9e0b30cc..5d3fbd62023 100644
--- a/src/test/debuginfo/union-smoke.rs
+++ b/src/test/debuginfo/union-smoke.rs
@@ -9,7 +9,6 @@
 // except according to those terms.
 
 // min-lldb-version: 310
-// ignore-macos FIXME(#37479)
 
 // compile-flags:-g
 
@@ -27,9 +26,9 @@
 
 // lldb-command:run
 // lldb-command:print u
-// lldb-check:[...]$0 = { a = ('\x02', '\x02') b = 514 }
+// lldb-check:[...]$0 = U { a: ('\x02', '\x02'), b: 514 }
 // lldb-command:print union_smoke::SU
-// lldb-check:[...]$1 = 257
+// lldb-check:[...]$1 = U { a: ('\x01', '\x01'), b: 257 }
 
 #![allow(unused)]
 #![feature(omit_gdb_pretty_printer_section)]