From eb1d068beeaaa420b558595751295eec35ad0c3c Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 12 Sep 2026 00:18:11 +0200 Subject: Support variadic extern procedures --- testsuite/fail_compilation/varargs_attribute.elna | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 testsuite/fail_compilation/varargs_attribute.elna (limited to 'testsuite/fail_compilation/varargs_attribute.elna') diff --git a/testsuite/fail_compilation/varargs_attribute.elna b/testsuite/fail_compilation/varargs_attribute.elna new file mode 100644 index 0000000..1c6d3e0 --- /dev/null +++ b/testsuite/fail_compilation/varargs_attribute.elna @@ -0,0 +1,8 @@ +proc with_body(x: Int) #{varargs} (* @Error Attribute 'varargs' is not supported in this position *) +begin +return + +proc no_parameters() #{varargs} -> Int32 (* @Error Attribute 'varargs' requires at least one parameter *) +extern + +end. -- cgit v1.2.3