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

proc v()
return

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