aboutsummaryrefslogtreecommitdiff
path: root/tests/calls.ek
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-09-05 18:30:01 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-10-31 12:30:09 +0200
commitfed864bf018e7d97fda24089ebe08fa0da1c3b97 (patch)
tree709dddea28995c58931f28a69525258129aa2fef /tests/calls.ek
parenta06ed46bffa94e4613052e0ddf0cb70ab32651ab (diff)
downloadek-fed864bf018e7d97fda24089ebe08fa0da1c3b97.tar.gz
ek-fed864bf018e7d97fda24089ebe08fa0da1c3b97.zip
more or less happy with syntax
Diffstat (limited to 'tests/calls.ek')
-rw-r--r--tests/calls.ek4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/calls.ek b/tests/calls.ek
index 4978649..0a4c20d 100644
--- a/tests/calls.ek
+++ b/tests/calls.ek
@@ -2,13 +2,13 @@ typedef some_type {
add(some_type, some_type => some_type);
}
-add(a u32, b u32 => u32)
+add(u32 a, u32 b => u32)
{
return a + b;
}
/* ah fuck, analyze_proc gobbles up the typeof */
-some_proc(a some_type, b typeof a => typeof a)
+some_proc(some_type a, typeof a b => typeof a)
{
return add(a, b);
}