aboutsummaryrefslogtreecommitdiff
path: root/compare.lang
diff options
context:
space:
mode:
Diffstat (limited to 'compare.lang')
-rw-r--r--compare.lang10
1 files changed, 10 insertions, 0 deletions
diff --git a/compare.lang b/compare.lang
new file mode 100644
index 0000000..1de9a70
--- /dev/null
+++ b/compare.lang
@@ -0,0 +1,10 @@
+func int main() {
+ int i := 0;
+ while (i != 10) {
+ if (i == 5) {
+ i = i + 2;
+ }
+ i = i + 1;
+ }
+ return 0;
+}