Sign in
webkit
/
WebKit
/
075931ac30dcae1739e575539dfc139918725298
/
.
/
JSTests
/
stress
/
prefix-plusplus-syntax-error-should-say-plusplus.js
blob: 8b4a3699707f52980f947255178830336ab9f5b7 [
file
] [
log
] [
blame
]
//@ runDefault
str
=
"\n++x?.y;"
;
var
exception
;
try
{
eval
(
str
);
}
catch
(
e
)
{
exception
=
e
;
}
if
(
exception
!=
"SyntaxError: Prefix ++ operator applied to value that is not a reference."
)
throw
"FAILED"
;