Tue, 09 Jun 2015 14:19:57 +0530
8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option
Reviewed-by: attila, hannesw
1 test/script/error/NASHORN-154/improper_return_break_continue.js:34:0 Invalid return statement
2 return 33;
3 ^
4 test/script/error/NASHORN-154/improper_return_break_continue.js:36:0 Illegal continue statement
5 continue;
6 ^
7 test/script/error/NASHORN-154/improper_return_break_continue.js:37:0 Illegal break statement
8 break;
9 ^
10 test/script/error/NASHORN-154/improper_return_break_continue.js:39:9 Undefined Label "nonExist"
11 continue nonExist;
12 ^
13 test/script/error/NASHORN-154/improper_return_break_continue.js:40:6 Undefined Label "nonExist"
14 break nonExist;
15 ^