| Index: test/mjsunit/regress/regress-892742.js
|
| diff --git a/test/mjsunit/regress/regress-892742.js b/test/mjsunit/regress/regress-892742.js
|
| index 78a57b2ad57f5e734a0ff3ed2ee15f2a77e06b15..e2b9add13353b777c152fc5fd9e7de1f48ecf3ec 100644
|
| --- a/test/mjsunit/regress/regress-892742.js
|
| +++ b/test/mjsunit/regress/regress-892742.js
|
| @@ -27,22 +27,21 @@
|
|
|
| function f() {
|
| return/* Counts as non-line-terminating whitespace */1;
|
| -};
|
| +}
|
|
|
| // According to ECMA-262, this comment should be parsed as a
|
| // line terminator making g() return undefined.
|
| function g() {
|
| return/* Counts as line-terminator whitespace.
|
| */2;
|
| -};
|
| +}
|
|
|
| function h() {
|
| return// Comment doesn't include line-terminator at end.
|
| 3;
|
| -};
|
| +}
|
|
|
|
|
| assertEquals(1, f());
|
| assertEquals(undefined, g());
|
| assertEquals(undefined, h());
|
| -
|
|
|