diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-09-24 00:39:51 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-09-24 00:39:51 +0200 |
| commit | f7b035a505e86ad916a43ab1dc1a662a6066b011 (patch) | |
| tree | a54369ae8ad56352d148c4583ab568f7d4869d30 /testsuite/fail_compilation/generic_parameter_arithmetic.elna | |
| parent | 74e75e41fe12f19e5365a3152ffafa1a29376240 (diff) | |
| download | elna-f7b035a505e86ad916a43ab1dc1a662a6066b011.tar.gz | |
Move module heading to the top
Diffstat (limited to 'testsuite/fail_compilation/generic_parameter_arithmetic.elna')
| -rw-r--r-- | testsuite/fail_compilation/generic_parameter_arithmetic.elna | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/fail_compilation/generic_parameter_arithmetic.elna b/testsuite/fail_compilation/generic_parameter_arithmetic.elna index 969c5c7..e05b1ee 100644 --- a/testsuite/fail_compilation/generic_parameter_arithmetic.elna +++ b/testsuite/fail_compilation/generic_parameter_arithmetic.elna @@ -1,11 +1,9 @@ +module + proc walk#[T](value: T; step: ^T) begin step := step + 1; value := value + 1 (* @Error Type parameter 'T' cannot be used in pointer arithmetic *) return -program() -begin -return 0u8 - end. |
