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