summaryrefslogtreecommitdiffstats
path: root/gdb/testsuite/gdb.chill/builtins.exp
diff options
context:
space:
mode:
authorWilfried Moser <moser@cygnus>1995-12-11 14:59:01 +0000
committerWilfried Moser <moser@cygnus>1995-12-11 14:59:01 +0000
commit32d067978fad2d73fb7e0010f5108b5262831bb4 (patch)
treedc88ef2be539c692cb01ecf4fa7f63e344d75760 /gdb/testsuite/gdb.chill/builtins.exp
parent8104c47b5a698729e5aec33e3b89090dc4101029 (diff)
downloadppe42-binutils-32d067978fad2d73fb7e0010f5108b5262831bb4.tar.gz
ppe42-binutils-32d067978fad2d73fb7e0010f5108b5262831bb4.zip
* builtins.exp, pr-5016.{ch,exp}, result.{ch,exp},
tests1.{ch,exp}: Enhance test cases.
Diffstat (limited to 'gdb/testsuite/gdb.chill/builtins.exp')
-rw-r--r--gdb/testsuite/gdb.chill/builtins.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.chill/builtins.exp b/gdb/testsuite/gdb.chill/builtins.exp
index 6248bba466..e67c3e8aba 100644
--- a/gdb/testsuite/gdb.chill/builtins.exp
+++ b/gdb/testsuite/gdb.chill/builtins.exp
@@ -274,12 +274,15 @@ proc test_length {} {
# string expressions
test_print_accept "print length(\"the quick brown fox ...\")" "23"
test_print_accept "print length(B'010101010101')" "12"
+ test_print_accept "print length(\"foo \" // \"bar\")" "7"
# check some failures
setup_xfail "*-*-*"
test_print_accept "print length(m_chars)" "typename in invalid context"
setup_xfail "*-*-*"
test_print_accept "print length(v_byte)" "bad argument to LENGTH builtin"
+ setup_xfail "*-*-*"
+ test_print_accept "print length(b'000000' // b'111111')" "12"
}
proc test_size {} {
OpenPOWER on IntegriCloud