Sign in
webkit
/
WebKit
/
a9c91ce2c5aea1dcbb1791839037fd37c48643d1
/
.
/
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"
;