diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-08-15 22:18:15 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-08-15 22:19:30 +0300 |
| commit | 3f79c03d4d6afcea485d1b561c40a99112a353e0 (patch) | |
| tree | b4ba77a75ae58ff6aa42114c116d8fa596520e7c /tests | |
| parent | bad9ab7479d66dfdb1c8e2d18c23fbcff9ec394b (diff) | |
| download | ek-3f79c03d4d6afcea485d1b561c40a99112a353e0.tar.gz ek-3f79c03d4d6afcea485d1b561c40a99112a353e0.zip | |
fix variadics
+ At least partially, some asserts or something should still be added
to the ast handling code
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/variadic.ek | 7 |
1 files changed, 7 insertions, 0 deletions
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) {} |
