Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
parser
/
modifier-yield-without-operand-1.js
blob: 635acbe323ac6feaa4511b17aaf146d13d3f3b14 [
file
] [
log
] [
blame
]
load
(
libdir
+
"syntax.js"
);
var
postfixes
=
[
"yield, @"
,
"yield; @"
,
];
function
check_syntax_error
(
e
,
code
)
{
// No need to check exception type
}
test_syntax
(
postfixes
,
check_syntax_error
,
true
);