binutils-gdb/gdb/testsuite/gdb.cp
Nathan Sidwell 36e9969cac * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
* c-exp.y (exp): Add unary plus.
	* eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
	* valarith.c (value_x_unop): Add UNOP_PLUS case.
	(value_pos): New.
	* value.h (value_pos): Declare.

	* gdb.cp/userdef.cc (A1::operator+): New unary plus.
	(A2): New class.
	(main): Test operator+.
	* gdb.cp/userdef.exp: Test unary plus.  Use A2::operator+ for
	breakpoint test.
2005-03-08 14:35:20 +00:00
..
ambiguous.cc
ambiguous.exp
annota2.cc
annota2.exp
annota3.cc
annota3.exp
anon-union.cc
anon-union.exp
breakpoint.cc
breakpoint.exp
bs15503.cc
bs15503.exp
casts.cc
casts.exp
class2.cc
class2.exp
classes.cc
classes.exp
cplusfuncs.cc
cplusfuncs.exp
ctti.exp
cttiadd1.cc
cttiadd2.cc
cttiadd3.cc
cttiadd.cc
demangle.exp
derivation.cc
derivation.exp
exception.cc
exception.exp
gdb1355.cc
gdb1355.exp
hang1.C
hang2.C
hang3.C
hang.exp
hang.H
inherit.exp
local.cc
local.exp
m-data.cc
m-data.exp
m-static1.cc
m-static.cc
m-static.exp
m-static.h
maint.exp
Makefile.in
member-ptr.cc
member-ptr.exp
method.cc
method.exp
misc.cc
misc.exp
namespace1.cc
namespace.cc
namespace.exp
overload.cc
overload.exp
ovldbreak.cc
ovldbreak.exp
pr-574.cc
pr-574.exp
pr-1023.cc
pr-1023.exp
pr-1210.cc
pr-1210.exp
printmethod.cc
printmethod.exp
psmang1.cc
psmang2.cc
psmang.exp
ref-types.cc
ref-types.exp
rtti1.cc
rtti2.cc
rtti.exp
rtti.h
templates.cc
templates.exp
try_catch.cc
try_catch.exp
userdef.cc * ax-gdb.c (gen_expr): Add UNOP_PLUS case. 2005-03-08 14:35:20 +00:00
userdef.exp * ax-gdb.c (gen_expr): Add UNOP_PLUS case. 2005-03-08 14:35:20 +00:00
virtfunc.cc
virtfunc.exp