aboutsummaryrefslogtreecommitdiff
path: root/gdb/testrec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testrec.c')
-rw-r--r--gdb/testrec.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testrec.c b/gdb/testrec.c
new file mode 100644
index 0000000..797c08b
--- /dev/null
+++ b/gdb/testrec.c
@@ -0,0 +1,12 @@
+main ()
+{
+ foo (4);
+}
+
+foo (x)
+ int x;
+{
+ if (x > 0)
+ foo (x - 1);
+}
+