WACC/src/test/wacc/waccPrograms/semanticErr/function/functionUnderArgs.wacc
2025-05-24 22:13:16 +01:00

20 lines
182 B
Plaintext

# function call with too few arguments
# Output:
# #semantic_error#
# Exit:
# 200
# Program:
begin
int f(int a, int b) is
return 0
end
int x = call f(1);
println x
end