aboutsummaryrefslogtreecommitdiff
path: root/gdb/test3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/test3.c')
-rw-r--r--gdb/test3.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/gdb/test3.c b/gdb/test3.c
new file mode 100644
index 0000000..cd27cdd
--- /dev/null
+++ b/gdb/test3.c
@@ -0,0 +1,25 @@
+enum foo {foo1, foo2};
+
+static double statdouble;
+
+newfun (ac)
+ struct haha {int a; } ac;
+{
+}
+
+struct temp {int a; };
+
+bar (a)
+ enum foo a;
+{
+ static int lose;
+ double happy;
+ typedef int myint;
+
+ {
+ union wow { int a; char b; } wowvar;
+ static union wow wowvar1;
+ typedef int yourint;
+ char *winner;
+ }
+}