Index: test/mjsunit/regress/regress-crbug-498022.js |
diff --git a/test/mjsunit/es6/regress/regress-455141.js b/test/mjsunit/regress/regress-crbug-498022.js |
similarity index 63% |
copy from test/mjsunit/es6/regress/regress-455141.js |
copy to test/mjsunit/regress/regress-crbug-498022.js |
index 676adebe72b5532496112099d7cd41ccca395070..cb8e0a460df7ed1189ccfa2781754f446b752b3f 100644 |
--- a/test/mjsunit/es6/regress/regress-455141.js |
+++ b/test/mjsunit/regress/regress-crbug-498022.js |
@@ -1,15 +1,15 @@ |
// Copyright 2015 the V8 project authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// |
-// Flags: --no-lazy |
+ |
+// Flags: --debug-code --nouse-gvn |
+ |
"use strict"; |
class Base { |
} |
-class Subclass extends Base { |
+class Derived extends Base { |
constructor() { |
- this.prp1 = 3; |
+ eval(); |
} |
} |
-function __f_1(){ |
-} |
+assertThrows("new Derived()", ReferenceError); |