summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ptype.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-30 16:35:25 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-30 16:35:25 +0000
commit5cbf8c08fcfd26cd95b8f2fd8d833777b402e621 (patch)
treef20fa680324f9a4b788c7bed7cacb2b949580271 /gdb/testsuite/gdb.base/ptype.c
parentf5798b5851a6a2179339c045ff8a7032c328900f (diff)
downloadgdb-cagney_framebase-20030326-branch.tar.gz
Diffstat (limited to 'gdb/testsuite/gdb.base/ptype.c')
-rw-r--r--gdb/testsuite/gdb.base/ptype.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/ptype.c b/gdb/testsuite/gdb.base/ptype.c
index 2c85c7c88fc..397a714692b 100644
--- a/gdb/testsuite/gdb.base/ptype.c
+++ b/gdb/testsuite/gdb.base/ptype.c
@@ -59,6 +59,7 @@ double v_double_array[2];
/* PR 3742 */
typedef char t_char_array[];
+t_char_array *pv_char_array;
/**** pointers *******/
@@ -237,6 +238,8 @@ int (*xptr) (int (*) (), int (*) (void), int);
int (*(*ffptr) (char)) (short);
int (*(*(*fffptr) (char)) (short)) (long);
+func_type v_func_type;
+
/* Here are the sort of stabs we expect to see for the above:
.stabs "func_type:t(0,100)=*(0,101)=g(0,1)(0,102)=*(0,103)=g(0,1)(0,1)(0,14)#(0,14)#",128,0,234,0