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