From 244449004fb62adbfd43b81e8dfce7500ca4a7e4 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 9 Oct 2026 09:55:53 +0200 Subject: Move export mark after the generic parameters --- testsuite/fail_compilation/generic_variable.elna | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testsuite/fail_compilation/generic_variable.elna (limited to 'testsuite/fail_compilation') diff --git a/testsuite/fail_compilation/generic_variable.elna b/testsuite/fail_compilation/generic_variable.elna new file mode 100644 index 0000000..21f031a --- /dev/null +++ b/testsuite/fail_compilation/generic_variable.elna @@ -0,0 +1,6 @@ +module + +var + x#[T]: Int (* @Error Variables cannot have generic parameters *) + +end. -- cgit v1.2.3