diff options
author | Samuel Lidén Borell <samuel@kodafritt.se> | 2025-05-23 23:20:06 +0200 |
---|---|---|
committer | Samuel Lidén Borell <samuel@kodafritt.se> | 2025-05-23 23:20:06 +0200 |
commit | 96f56a9e8954d84653d7307d0e5a16697ac2042b (patch) | |
tree | 3ca12c42bd009109fa92134fc63bcf1b1f841d18 /compiler | |
parent | c03facaee4e80ba11b859c68b8da7a33181632a2 (diff) | |
download | slul-try2-main.tar.gz slul-try2-main.tar.bz2 slul-try2-main.zip |
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/main.slul | 24 |
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 |