aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/cttiadd1.cc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-29 22:29:15 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-29 22:29:15 +0000
commit6ea9fb3712e33eb6a95559f672e5de834cbc2b6b (patch)
tree60480fe36fe1345f70f228d84543bdf4f2339b27 /gdb/testsuite/gdb.cp/cttiadd1.cc
parent2da6aac335bbbc38795735152a59fe9693083601 (diff)
downloadgdb-6ea9fb3712e33eb6a95559f672e5de834cbc2b6b.zip
gdb-6ea9fb3712e33eb6a95559f672e5de834cbc2b6b.tar.gz
gdb-6ea9fb3712e33eb6a95559f672e5de834cbc2b6b.tar.bz2
* gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
to use unsigned char. * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c, gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
Diffstat (limited to 'gdb/testsuite/gdb.cp/cttiadd1.cc')
-rw-r--r--gdb/testsuite/gdb.cp/cttiadd1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/cttiadd1.cc b/gdb/testsuite/gdb.cp/cttiadd1.cc
index 9b149b3..a67babe 100644
--- a/gdb/testsuite/gdb.cp/cttiadd1.cc
+++ b/gdb/testsuite/gdb.cp/cttiadd1.cc
@@ -21,7 +21,7 @@ template<class T> T add(T v1, T v2);
void add1()
{
- char c;
+ unsigned char c;
int i;
float f;