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