aboutsummaryrefslogtreecommitdiff
path: root/tests/for-loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/for-loop.c')
-rw-r--r--tests/for-loop.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/for-loop.c b/tests/for-loop.c
new file mode 100644
index 0000000..ea769c5
--- /dev/null
+++ b/tests/for-loop.c
@@ -0,0 +1,6 @@
+void g(int);
+void f(void) {
+ int i;
+ for (i = 0; i < 10; ++i)
+ g(i);
+}