lambdaNoTypeArg.wacc 149 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 to parameter arguments

# Output:
# #syntax_error#

# Exit:
# 100

# Program:

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