aboutsummaryrefslogtreecommitdiff
path: root/tests/call.ek
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-09 17:55:27 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-09 18:08:55 +0300
commit3af8485a1c638ce38c0e21d00791c423c5c9b8c2 (patch)
treec735b0dd6becf58d17ccb0d8483cac716b93b3ed /tests/call.ek
parentb29d61c06c275a6c99e8ae56e860d439fba839d4 (diff)
downloadek-3af8485a1c638ce38c0e21d00791c423c5c9b8c2.tar.gz
ek-3af8485a1c638ce38c0e21d00791c423c5c9b8c2.zip
fix parameter count
Diffstat (limited to 'tests/call.ek')
-rw-r--r--tests/call.ek11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/call.ek b/tests/call.ek
new file mode 100644
index 0000000..86d6ed0
--- /dev/null
+++ b/tests/call.ek
@@ -0,0 +1,11 @@
+typedef i27 {}
+
+add(i27 a, i27 b => i27)
+{
+ return a + b;
+}
+
+main()
+{
+ add(20 as i27, 40 as i27);
+}