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