Commit 365d3b83 authored by simonmar's avatar simonmar

[project @ 2003-03-17 14:48:18 by simonmar]

Add test for 'main = return undefined'
parent 5136a8cd
......@@ -49,3 +49,4 @@ test('cg049', normal, compile_and_run, ['-funbox-strict-fields'])
test('cg050', normal, compile_and_run, [''])
test('cg051', exit_code(1), compile_and_run, [''])
test('cg052', only_ways(['opt']), compile_and_run, ['-funbox-strict-fields'])
test('cg053', normal, compile_and_run, [''])
-- should run successfully and exit, i.e. without evaluating the
-- argument to return.
main = return undefined
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment