| Index: test/mjsunit/regress/regress-1110.js
|
| diff --git a/test/mjsunit/regress/regress-1110.js b/test/mjsunit/regress/regress-1110.js
|
| index 43b8d77aeb76ece312b2458e4b58f1c12ba964f9..124f520ca636ab0b0b47a04363c4b4bf6c213649 100644
|
| --- a/test/mjsunit/regress/regress-1110.js
|
| +++ b/test/mjsunit/regress/regress-1110.js
|
| @@ -28,10 +28,9 @@
|
| // Test that the illegal continue is thrown at parse time.
|
|
|
| try {
|
| - function Crash() { continue;if (Crash) {
|
| - } }
|
| + eval("function Crash() { assertUnreachable(); continue;if (Crash) { } }");
|
| Crash();
|
| - assertTrue(false);
|
| + assertUnreachable();
|
| } catch (e) {
|
| assertTrue(e instanceof SyntaxError);
|
| assertTrue(/continue/.test(e.message));
|
|
|