summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test.yx (renamed from test.xy)4
1 files changed, 3 insertions, 1 deletions
diff --git a/test.xy b/test.yx
index a908c0e..2e3a515 100644
--- a/test.xy
+++ b/test.yx
@@ -1,3 +1,5 @@
+module foo;
+
def puts = $foreign("puts", func(s ^u8));
/*
@@ -21,7 +23,7 @@ def foo = func() {
def main′ = func() {
puts("Hello, sailor!");
some_func(#b10.1100'1001e+11);
- x, y = 69, 420;
+ x, y = 69, 420;
slices_sort(my_slice, func(x, y int) int {
return x - y;
});