nashorn/test/script/basic/es6/const-redeclare-extra.js.EXPECTED
changeset 26502 71d3891037bb
child 26504 ed05e2f4c2db
equal deleted inserted replaced
26501:3a1da7b354c1 26502:71d3891037bb
       
     1 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>@2:3:8 Variable "x" has already been declared
       
     2     var x = {};
       
     3         ^
       
     4 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>@4:2:8 Variable "x" has already been declared
       
     5     var x = 2;
       
     6         ^
       
     7 SyntaxError: test/script/basic/es6/const-redeclare-extra.js#36:8<eval>@4:2:13 Variable "x" has already been declared
       
     8     function x () {}
       
     9              ^