aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/fixed_points.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/fixed_points.exp')
-rw-r--r--gdb/testsuite/gdb.ada/fixed_points.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/fixed_points.exp b/gdb/testsuite/gdb.ada/fixed_points.exp
index 7267c31..69565e7 100644
--- a/gdb/testsuite/gdb.ada/fixed_points.exp
+++ b/gdb/testsuite/gdb.ada/fixed_points.exp
@@ -76,6 +76,11 @@ foreach_with_prefix scenario {all minimal} {
gdb_test "print fp2_var - 0" \
" = -0.01"
+ gdb_test "print + fp2_var" \
+ " = -0.01"
+ gdb_test "print - fp2_var" \
+ " = 0.01"
+
set fp4 "= 2e-07"
gdb_test "print fp4_var" $fp4
gdb_test "print fp4_var * 1" $fp4