summaryrefslogtreecommitdiff
path: root/tests/sources/0501_loop_infinite.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/0501_loop_infinite.c')
-rw-r--r--tests/sources/0501_loop_infinite.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sources/0501_loop_infinite.c b/tests/sources/0501_loop_infinite.c
new file mode 100644
index 0000000..2676685
--- /dev/null
+++ b/tests/sources/0501_loop_infinite.c
@@ -0,0 +1,4 @@
+int x = 0;
+while (x < 10) {
+ print(x);
+}