Index: test/mjsunit/regress/regress-5178.js |
diff --git a/test/mjsunit/regress/regress-5178.js b/test/mjsunit/regress/regress-5178.js |
index bc0dd118d09be270cd659379767856f83c921718..cf10ae718715665dd4bdbbb774a0baec65029b21 100644 |
--- a/test/mjsunit/regress/regress-5178.js |
+++ b/test/mjsunit/regress/regress-5178.js |
@@ -5,3 +5,5 @@ |
assertThrows(() => { |
try { throw {} } catch({a=b, b}) { a+b } |
}, ReferenceError); |
+ |
+try { throw {a: 42} } catch({a, b=a}) { assertEquals(42, b) }; |