diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-08-26 19:23:42 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-09-03 13:39:35 +0300 |
| commit | 436cfe56534b405786816d4bbcccd11ed7571981 (patch) | |
| tree | 21c4e2972397731442e7753a991f69288fb9b3c8 /src/test/debuginfo | |
| parent | 93067ca089ea570e4e2bdfc456958c81a4d1e092 (diff) | |
| download | rust-436cfe56534b405786816d4bbcccd11ed7571981.tar.gz rust-436cfe56534b405786816d4bbcccd11ed7571981.zip | |
Fix type encoding/decoding for unions
Fix union debuginfo test on lldb
Diffstat (limited to 'src/test/debuginfo')
| -rw-r--r-- | src/test/debuginfo/union-smoke.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/debuginfo/union-smoke.rs b/src/test/debuginfo/union-smoke.rs index 17dea300ff9..319927c979b 100644 --- a/src/test/debuginfo/union-smoke.rs +++ b/src/test/debuginfo/union-smoke.rs @@ -23,10 +23,10 @@ // === LLDB TESTS ================================================================================== // lldb-command:run -// lldb-command:print a -// lldb-check:[...]$0 = {a = {__0 = 2 '\002', __1 = 2 '\002'}, b = 514} +// lldb-command:print u +// lldb-check:[...]$0 = { a = ('\x02', '\x02') b = 514 } // lldb-command:print union_smoke::SU -// lldb-check:[...]$1 = {a = {__0 = 1 '\001', __1 = 1 '\001'}, b = 257} +// lldb-check:[...]$1 = 257 #![allow(unused)] #![feature(omit_gdb_pretty_printer_section)] |
