From 3f79c03d4d6afcea485d1b561c40a99112a353e0 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 15 Aug 2023 22:18:15 +0300 Subject: fix variadics + At least partially, some asserts or something should still be added to the ast handling code --- tests/variadic.ek | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/variadic.ek (limited to 'tests') diff --git a/tests/variadic.ek b/tests/variadic.ek new file mode 100644 index 0000000..264e2f0 --- /dev/null +++ b/tests/variadic.ek @@ -0,0 +1,7 @@ +define macro(a, b, ... c) +{ + const for i : a, b, ... c { + } +} + +proc(a u32, b u32, ... c) {} -- cgit v1.3