diff -r 1e019aeea9b5 -r f019295fdeb3 nashorn/test/script/basic/evalreturn.js.EXPECTED --- a/nashorn/test/script/basic/evalreturn.js.EXPECTED Fri Jun 12 16:55:20 2015 +0530 +++ b/nashorn/test/script/basic/evalreturn.js.EXPECTED Mon Jun 15 15:37:01 2015 +0200 @@ -5,7 +5,8 @@ undefined hello Scoping OK -function cake() { print('moist and delicious!'); } +undefined +function() { print('moist and delicious!'); } moist and delicious! -function cookie() { print('sweet and crunchy!'); } +function() { print('sweet and crunchy!'); } sweet and crunchy!