Index: test/mjsunit/regress/regress-1172-bis.js |
diff --git a/test/mjsunit/regress/regress-1172-bis.js b/test/mjsunit/regress/regress-1172-bis.js |
index e8d5c81273123cbb9ab9eebd58cd974881f9336c..01b637ce113c735d6b2fedba82f71a31df24d031 100644 |
--- a/test/mjsunit/regress/regress-1172-bis.js |
+++ b/test/mjsunit/regress/regress-1172-bis.js |
@@ -29,9 +29,11 @@ |
// are properly treated. |
Object.prototype.__defineGetter__(0, function() { throw 42; }); |
+var exception = false; |
try { |
Object[0](); |
- assertUnreachable(); |
} catch(e) { |
+ exception = true; |
assertEquals(42, e); |
} |
+assertTrue(exception); |