Index: test/mjsunit/regress/regress-crbug-478011.js |
diff --git a/test/message/export-duplicate-as.js b/test/mjsunit/regress/regress-crbug-478011.js |
similarity index 63% |
copy from test/message/export-duplicate-as.js |
copy to test/mjsunit/regress/regress-crbug-478011.js |
index 49b52d4b17177e9443445f00379227cce07a034d..fcc05280407ba32f9e1ddf75d065fdcfecf48f6a 100644 |
--- a/test/message/export-duplicate-as.js |
+++ b/test/mjsunit/regress/regress-crbug-478011.js |
@@ -1,9 +1,7 @@ |
// 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. |
-// |
-// MODULE |
-var a, b; |
-export { a as c }; |
-export { a, b as c }; |
+var e = {}; |
+Object.preventExtensions(e); |
+assertThrows(function() { Error.captureStackTrace(e) }); |