summaryrefslogtreecommitdiff
path: root/test/language/module-code/instn-iee-bndng-var_FIXTURE.js
blob: 5cbe15a99f6f45c32dbb8c556706f5bd813df568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

export { x as y } from './instn-iee-bndng-var.js';

// Taken together, the following two assertions demonstrate that there is no
// entry in the environment record for ImportName:
assert.throws(ReferenceError, function() {
  x;
});
assert.sameValue(typeof x, 'undefined');

// Taken together, the following two assertions demonstrate that there is no
// entry in the environment record for ExportName:
assert.throws(ReferenceError, function() {
  y;
});
assert.sameValue(typeof y, 'undefined');