aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.fortran/array-slices.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.fortran/array-slices.exp')
-rw-r--r--gdb/testsuite/gdb.fortran/array-slices.exp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.fortran/array-slices.exp b/gdb/testsuite/gdb.fortran/array-slices.exp
index 4ca1db9..b1c7209 100644
--- a/gdb/testsuite/gdb.fortran/array-slices.exp
+++ b/gdb/testsuite/gdb.fortran/array-slices.exp
@@ -53,7 +53,10 @@ set message_strings \
" = 'array \\(1:5,1:5\\)'" \
" = 'array \\(1:10:2,1:10:2\\)'" \
" = 'array \\(1:10:3,1:10:2\\)'" \
- " = 'array \\(1:10:5,1:10:3\\)'" ]
+ " = 'array \\(1:10:5,1:10:3\\)'" \
+ " = 'other'" \
+ " = 'other \\(-5:0, -2:0\\)'" \
+ " = 'other \\(-5:4:2, -2:7:3\\)'" ]
set i 0
foreach result $array_contents msg $message_strings {