Skip to content
Snippets Groups Projects
exitNonInt.wacc 152 B
Newer Older
# exit with non-int - this should be an invalid program! 

# Output:
# #semantic_error#

# Exit:
# 200

# Program:

begin
  char x = 'f' ;
  exit x
end