aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/assign_void_call.elna
blob: d18b1c8625d252754d3960e3a47f6cb7c2cafe2a (plain)
1
2
3
4
5
6
7
8
9
var
  x: Int

proc v()
return

begin
  x := v() (* @Error Expected type 'Int', but the expression has no value *)
end.