summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/gdb701.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-09-16 19:01:43 +0000
committerKeith Seitz <keiths@redhat.com>2002-09-16 19:01:43 +0000
commit8038ed97238744212d494cdb48c53b2fa1f0f086 (patch)
treecb66d8ae735624e4e8ee59c6ec6832ef7087b956 /gdb/testsuite/gdb.mi/gdb701.c
parent928e48af4f1074d16dcbb8b8f8d4a6800813ca02 (diff)
downloadbinutils-gdb-8038ed97238744212d494cdb48c53b2fa1f0f086.tar.gz
* gdb701.exp: New file for testing varobj target type bug.
* gdb701.c: New file.
Diffstat (limited to 'gdb/testsuite/gdb.mi/gdb701.c')
-rw-r--r--gdb/testsuite/gdb.mi/gdb701.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/gdb701.c b/gdb/testsuite/gdb.mi/gdb701.c
new file mode 100644
index 00000000000..16e5c297340
--- /dev/null
+++ b/gdb/testsuite/gdb.mi/gdb701.c
@@ -0,0 +1,15 @@
+struct _foo
+{
+ int x;
+ int y;
+ int z;
+};
+
+typedef struct _foo Foo;
+
+int
+main (int argc, char *argv[])
+{
+ Foo *foo = 0;
+ exit (0);
+}