+2009-09-21 Keith Seitz <keiths@redhat.com>
+
+ * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
+ with invalid operator.
+
2009-09-21 Keith Seitz <keiths@redhat.com>
* gdb.cp/classes.exp (do_tests): Add tests to print a constructor
global srcdir
global binfile
global gdb_prompt
+ global dm_type_int_star
set prms_id 0
set bug_id 0
test_paddr_operator_functions
test_paddr_hairy_functions
test_lookup_operator_functions
+
+ # A regression test on errors involving operators
+ gdb_test "list foo::operator $dm_type_int_star" \
+ ".*the class foo does not have any method named operator $dm_type_int_star.*"
}
do_tests