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

proc v()
return

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