Index: gdb/testsuite/gdb.cp/cpexprs.exp |
diff --git a/gdb/testsuite/gdb.cp/cpexprs.exp b/gdb/testsuite/gdb.cp/cpexprs.exp |
index aa37315fd6e16045375dd502455c8d35a686723d..52a293bc6d442df512d51e0ab6f483bb92c8f09b 100644 |
--- a/gdb/testsuite/gdb.cp/cpexprs.exp |
+++ b/gdb/testsuite/gdb.cp/cpexprs.exp |
@@ -1,6 +1,6 @@ |
# cpexprs.exp - C++ expressions tests |
# |
-# Copyright 2008-2012 Free Software Foundation, Inc. |
+# Copyright 2008-2013 Free Software Foundation, Inc. |
# |
# Contributed by Red Hat, originally written by Keith Seitz. |
# |
@@ -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 |