lambdaEmptyBody.wacc 139 Bytes
Newer Older
Males, Sebastian's avatar
Males, Sebastian committed
1
2
3
4
5
6
7
8
9
10
11
12
13
# Tries to define lambda with an empty body

# Output:
# #syntax_error#

# Exit:
# 100

# Program:

begin
  int y = call (\(x) -> )(2)
end