modifier-yield-without-operand-2.js (222B)
1 load(libdir + "syntax.js"); 2 3 var postfixes = [ 4 "yield) @", 5 "yield} @", 6 "yield] @", 7 ]; 8 9 function check_syntax_error(e, code) { 10 // No need to check exception type 11 } 12 13 test_syntax(postfixes, check_syntax_error, true);