summaryrefslogtreecommitdiff
path: root/grammar/go/input.til
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/go/input.til')
-rw-r--r--grammar/go/input.til13
1 files changed, 13 insertions, 0 deletions
diff --git a/grammar/go/input.til b/grammar/go/input.til
new file mode 100644
index 00000000..008182b8
--- /dev/null
+++ b/grammar/go/input.til
@@ -0,0 +1,13 @@
+var a
+a := 1;
+
+head:
+
+a := ( a + 1 )
+c := d;
+
+if a = 10 then
+ goto head
+end
+
+hi := there; friend := yes