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/cpexprs.exp | |
parent | 9507860ea98fccee3a8567de42ed9c71d43bc343 (diff) | |
download | fsf-binutils-gdb-b2f83c08372136fe9fe7d1df2feb5566c8b883fb.zip fsf-binutils-gdb-b2f83c08372136fe9fe7d1df2feb5566c8b883fb.tar.gz fsf-binutils-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/cpexprs.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/cpexprs.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/cpexprs.exp b/gdb/testsuite/gdb.cp/cpexprs.exp index ec49135..52a293b 100644 --- a/gdb/testsuite/gdb.cp/cpexprs.exp +++ b/gdb/testsuite/gdb.cp/cpexprs.exp @@ -731,5 +731,8 @@ gdb_test "p CV_f(int)" { = {int \(int\)} 0x[0-9a-f]+ <CV_f\(int\)>} gdb_test "p CV_f(CV::t)" { = {int \(int\)} 0x[0-9a-f]+ <CV_f\(int\)>} gdb_test "p CV_f(CV::i)" " = 43" +gdb_test "p CV_f('cpexprs.cc'::CV::t)" \ + { = {int \(int\)} 0x[0-9a-f]+ <CV_f\(int\)>} + gdb_exit return 0 |