diff options
author | Tom Tromey <tromey@redhat.com> | 2013-03-21 15:19:33 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-03-21 15:19:33 +0000 |
commit | b2f83c08372136fe9fe7d1df2feb5566c8b883fb (patch) | |
tree | 7b78c73fd7f09e766f23ecfd662c2e01036aa38a /gdb/testsuite/gdb.cp/misc.exp | |
parent | 9507860ea98fccee3a8567de42ed9c71d43bc343 (diff) | |
download | gdb-b2f83c08372136fe9fe7d1df2feb5566c8b883fb.zip gdb-b2f83c08372136fe9fe7d1df2feb5566c8b883fb.tar.gz gdb-b2f83c08372136fe9fe7d1df2feb5566c8b883fb.tar.bz2 |
PR exp/15109:
* c-exp.y (yylex): Rewrite to push all tokens onto the FIFO.
Handle FILENAME token.
gdb/testsuite
* gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
* gdb.cp/misc.exp: Add test for FILENAME:: case.
Diffstat (limited to 'gdb/testsuite/gdb.cp/misc.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/misc.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/misc.exp b/gdb/testsuite/gdb.cp/misc.exp index bcb0c2b..bd2353a 100644 --- a/gdb/testsuite/gdb.cp/misc.exp +++ b/gdb/testsuite/gdb.cp/misc.exp @@ -107,3 +107,6 @@ gdb_test "print (bool)17.93" "\\$\[0-9\]* = true" "(bool)17.93" gdb_test "print (bool)0.0" "\\$\[0-9\]* = false" "(bool)0.0" gdb_test "print (int)true" "\\$\[0-9\]* = 1" "(int)true" gdb_test "print (int)false" "\\$\[0-9\]* = 0" "(int)false" + +gdb_test "print 'misc.cc'::v_bool" " = true" \ + "expression using block qualifier" |