From b2f83c08372136fe9fe7d1df2feb5566c8b883fb Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 21 Mar 2013 15:19:33 +0000 Subject: 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. --- gdb/testsuite/gdb.cp/cpexprs.exp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/testsuite/gdb.cp/cpexprs.exp') 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]+ } gdb_test "p CV_f(CV::t)" { = {int \(int\)} 0x[0-9a-f]+ } gdb_test "p CV_f(CV::i)" " = 43" +gdb_test "p CV_f('cpexprs.cc'::CV::t)" \ + { = {int \(int\)} 0x[0-9a-f]+ } + gdb_exit return 0 -- cgit v1.1