aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/gdb701.c
diff options
context:
space:
mode:
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 0000000..16e5c29
--- /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);
+}