aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/offset_not_record.elna
blob: 93459e452b44033c7695f0f13b71c50993e83487 (plain)
1
2
3
4
5
6
7
program()
var
  n: Word

begin
  n := #offset(Int, top) (* @Error Type 'Int' does not support trait '#offset' *)
end.