aboutsummaryrefslogtreecommitdiff
path: root/l/opttest.lang
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-09-02 15:48:01 +0200
committertomsmeding <tom.smeding@gmail.com>2017-09-02 15:51:08 +0200
commitc3c19f3220485af12c3a5561ad1754bf546e7429 (patch)
tree80e601853f7259722c4ec8fa3dc2704cd3f125f9 /l/opttest.lang
parent45e9991a1f83974c3459037f4791d865f5b342f1 (diff)
Move *.lang files to a directory
Diffstat (limited to 'l/opttest.lang')
-rw-r--r--l/opttest.lang8
1 files changed, 8 insertions, 0 deletions
diff --git a/l/opttest.lang b/l/opttest.lang
new file mode 100644
index 0000000..9f87e78
--- /dev/null
+++ b/l/opttest.lang
@@ -0,0 +1,8 @@
+func int main() {
+ int a := 1;
+ int b := 2;
+ int x := a + b;
+ b = 100;
+ putint(x); putc('\n');
+ return 0;
+}