diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-09-08 21:14:03 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-09-08 21:14:03 +0200 |
| commit | b27872d5c5bfecae74195771f5c1f4e73385b6d6 (patch) | |
| tree | d0bc9d09c5b4073a42680f07a8aa3dca8df9e50b /testsuite/fail_compilation/offset_not_record.elna | |
| parent | 47c8f99b6ef812dbc22ca56a39ba21bccad47796 (diff) | |
| download | elna-b27872d5c5bfecae74195771f5c1f4e73385b6d6.tar.gz | |
Fix ICE with offset trait and non-type identifier
Diffstat (limited to 'testsuite/fail_compilation/offset_not_record.elna')
| -rw-r--r-- | testsuite/fail_compilation/offset_not_record.elna | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/offset_not_record.elna b/testsuite/fail_compilation/offset_not_record.elna new file mode 100644 index 0000000..d19e608 --- /dev/null +++ b/testsuite/fail_compilation/offset_not_record.elna @@ -0,0 +1,9 @@ +var + n: Word + +program() +begin + n := #offset(Int, top) (* @Error Type 'Int' does not support trait '#offset' *) +return 0u8 + +end. |
