diff options
Diffstat (limited to 'deps/v8/test/mjsunit/modules-export-star-as1.js')
-rw-r--r-- | deps/v8/test/mjsunit/modules-export-star-as1.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/modules-export-star-as1.js b/deps/v8/test/mjsunit/modules-export-star-as1.js new file mode 100644 index 0000000000..1696c1c84d --- /dev/null +++ b/deps/v8/test/mjsunit/modules-export-star-as1.js @@ -0,0 +1,10 @@ +// Copyright 2018 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 +// Flags: --harmony-namespace-exports + +import {foo} from "./modules-skip-8.js"; +assertEquals(42, foo.default); +assertEquals(1, foo.get_a()); |