nashorn/test/script/error/object_literal_in_new_nse.js.EXPECTED
author sundar
Tue, 09 Jun 2015 14:19:57 +0530
changeset 31098 e98a3ba5d5da
permissions -rw-r--r--
8086032: Add compiler error tests when syntax extensions are used with --no-syntax-extensions option Reviewed-by: attila, hannesw

test/script/error/object_literal_in_new_nse.js:31:33 Expected ; but found {
var r = new java.lang.Runnable() {
                                 ^
test/script/error/object_literal_in_new_nse.js:32:15 Expected ident but found (
  run: function() { print("hello"); }
               ^
test/script/error/object_literal_in_new_nse.js:32:36 Expected eof but found }
  run: function() { print("hello"); }
                                    ^