Index: test/mjsunit/ignition/throw-if-not-hole.js |
diff --git a/test/mjsunit/ignition/throw-if-not-hole.js b/test/mjsunit/ignition/throw-if-not-hole.js |
index ce322563853d8cbea8fd8bfbaf2c9d949aed17b6..672e42ddf59528be696b45b28611e234aebe8ed9 100644 |
--- a/test/mjsunit/ignition/throw-if-not-hole.js |
+++ b/test/mjsunit/ignition/throw-if-not-hole.js |
@@ -18,6 +18,8 @@ class B extends A { |
test = new B(0); |
test = new B(0); |
+assertThrowsEquals(() => {new B(1)}, ReferenceError()); |
+assertThrowsEquals(() => {new B(1)}, ReferenceError()); |
%OptimizeFunctionOnNextCall(B); |
test = new B(0); |
assertOptimized(B); |