aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.chill/misc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.chill/misc.exp')
-rw-r--r--gdb/testsuite/gdb.chill/misc.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.chill/misc.exp b/gdb/testsuite/gdb.chill/misc.exp
index 306b061..94be69c 100644
--- a/gdb/testsuite/gdb.chill/misc.exp
+++ b/gdb/testsuite/gdb.chill/misc.exp
@@ -77,6 +77,9 @@ if ![set_lang_chill] then {
gdb_test "print OTto" " = 42"
gdb_test "print NULL" " = NULL" "print emptiness literal"
+ # This tests PR 8496.
+ gdb_test {printf "%d %d.\n", 3+4,2} "7 2." "printf with 2 arguments"
+
# Linux thinks this is at line 6, but is otherwise ok.
setup_xfail "i*86-*-linux*"
gdb_test "info line" \