aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.rust/union.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.rust/union.exp')
-rw-r--r--gdb/testsuite/gdb.rust/union.exp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.rust/union.exp b/gdb/testsuite/gdb.rust/union.exp
index 3a2e6bc..ce59a36 100644
--- a/gdb/testsuite/gdb.rust/union.exp
+++ b/gdb/testsuite/gdb.rust/union.exp
@@ -34,12 +34,12 @@ if {![runto ${srcfile}:$line]} {
gdb_test "print u" " = union::Union {f1: -1, f2: 255}"
gdb_test_sequence "ptype/o Union" "" {
- "/\\* offset | size \\*/ type = union union::Union {"
- "/\\* 1 \\*/ f1: i8,"
- "/\\* 1 \\*/ f2: u8,"
+ "/\\* offset | size \\*/ type = union union::Union {"
+ "/\\* 1 \\*/ f1: i8,"
+ "/\\* 1 \\*/ f2: u8,"
""
- " /\\* total size \\(bytes\\): 1 \\*/"
- " }"
+ " /\\* total size \\(bytes\\): 1 \\*/"
+ " }"
}
gdb_test "print u2" " = union::Union2 {name: \\\[1\\\]}"