diff options
Diffstat (limited to 'testsuite/fail_compilation')
| -rw-r--r-- | testsuite/fail_compilation/generic_variable.elna | 6 |
1 files changed, 6 insertions, 0 deletions
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. |
