aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/offset_not_record.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/fail_compilation/offset_not_record.elna')
-rw-r--r--testsuite/fail_compilation/offset_not_record.elna4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/fail_compilation/offset_not_record.elna b/testsuite/fail_compilation/offset_not_record.elna
index d19e608..93459e4 100644
--- a/testsuite/fail_compilation/offset_not_record.elna
+++ b/testsuite/fail_compilation/offset_not_record.elna
@@ -1,9 +1,7 @@
+program()
var
n: Word
-program()
begin
n := #offset(Int, top) (* @Error Type 'Int' does not support trait '#offset' *)
-return 0u8
-
end.