aboutsummaryrefslogtreecommitdiff
path: root/gdb/foo.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/foo.c')
-rw-r--r--gdb/foo.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/foo.c b/gdb/foo.c
new file mode 100644
index 0000000..59e559f
--- /dev/null
+++ b/gdb/foo.c
@@ -0,0 +1,13 @@
+main() {
+ int i;
+
+ for (i = 0; i >= 0; i++)
+ bar();
+}
+
+bar()
+{
+ int i;
+
+ i = 10;
+}