aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/nofield.exp')
-rw-r--r--gdb/testsuite/gdb.base/nofield.exp10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.base/nofield.exp b/gdb/testsuite/gdb.base/nofield.exp
index 86c061b25c1..4cf16b5ace1 100644
--- a/gdb/testsuite/gdb.base/nofield.exp
+++ b/gdb/testsuite/gdb.base/nofield.exp
@@ -26,14 +26,10 @@ set sp "\[ \t\]*"
clean_restart ${binfile}
gdb_test "ptype struct not_empty" \
- "type = struct not_empty {$eol${sp}void \\*e;$eol${sp}void \\*u;$eol}" \
- "ptype struct not_empty"
+ "type = struct not_empty {$eol${sp}void \\*e;$eol${sp}void \\*u;$eol}"
gdb_test "ptype struct empty" \
- "type = struct empty {$eol$sp<no data fields>$eol}" \
- "ptype struct empty"
+ "type = struct empty {$eol$sp<no data fields>$eol}"
gdb_test "ptype union empty_union" \
- "type = union empty_union {$eol$sp<no data fields>$eol}" \
- "ptype union empty_union"
-
+ "type = union empty_union {$eol$sp<no data fields>$eol}"