aboutsummaryrefslogtreecommitdiffstats
path: root/c_parser/test/in/14.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_parser/test/in/14.c')
-rw-r--r--c_parser/test/in/14.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/c_parser/test/in/14.c b/c_parser/test/in/14.c
new file mode 100644
index 0000000..94506d7
--- /dev/null
+++ b/c_parser/test/in/14.c
@@ -0,0 +1,12 @@
+int function_1(int a, int b) {
+ int x = 0;
+
+ do {
+ int c = a + b;
+ x += a;
+ x = x * b;
+ x -= c;
+ } while(x < 500);
+
+ return x;
+}