aboutsummaryrefslogtreecommitdiff
path: root/compiler/main.slul
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main.slul')
-rw-r--r--compiler/main.slul24
1 files changed, 14 insertions, 10 deletions
diff --git a/compiler/main.slul b/compiler/main.slul
index fb5af85..c0f5216 100644
--- a/compiler/main.slul
+++ b/compiler/main.slul
@@ -33,10 +33,14 @@ func testfunc
returns
SomeResult res
code
- Int x
- Int y
- Int z
- Int w
+ int x
+ unsigned y
+ wrapping z
+ int w
+ long l
+ var unsigned long vul
+ signed byte sgb
+ aliased SomeType st_aliased
return true and false
return true or false
return (true and false) or true
@@ -134,17 +138,17 @@ func noargs
end
func f
- Int arg1
- Int arg2
- Int arg3
+ int arg1
+ int arg2
+ int arg3
code
end
func g
- Int x
- Int y
+ int x
+ int y
returns
- Int ret
+ int ret
code
return x + (2*y)
end