polserver/testsuite/escript/func/func013-double-semicolon.src
Eric Swanson d8ad58f64f
Update test suite for new compiler (#299)
* Update test suite:
- run test suite with both OG compiler and new compiler
- run compiler parity test against testsuite/escript
2020-09-11 01:38:39 -07:00

12 lines
223 B
Text

//
// The EmptyStatement AST node exists for this: since the compiler
// sees something other than 'return' as the last statement,
// it adds another return
//
function foo()
return "bar";;
endfunction
print(foo());