From a275919ea9141a9d8c966ccef040666d9bda3b60 Mon Sep 17 00:00:00 2001 From: zinc Date: Wed, 14 Oct 2026 15:37:28 +0330 Subject: agent/spec-conformance: unmerged work from previous session --- tests/conformance/3-expressions/call_wrong_arg_count.zc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/conformance/3-expressions/call_wrong_arg_count.zc (limited to 'tests/conformance/3-expressions/call_wrong_arg_count.zc') diff --git a/tests/conformance/3-expressions/call_wrong_arg_count.zc b/tests/conformance/3-expressions/call_wrong_arg_count.zc new file mode 100644 index 0000000..8c87e43 --- /dev/null +++ b/tests/conformance/3-expressions/call_wrong_arg_count.zc @@ -0,0 +1,4 @@ +// expect error: f: wrong number of arguments +include rt; +int f(int a, int b) { return a + b; } +fn main() { rt.put_n(f(1, 2, 3)); return 0; } -- cgit v1.2.3