summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/module-code/eval-gtbndng-indirect-update_FIXTURE.js
blob: 37a51bb18b75df8ca9d62ddb78d9f3734900d63a (plain)
1
2
3
4
5
6
7
8
9
10
// |reftest| skip -- not a test file
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

var x = 1;
export { x };

Function('return this;')().test262update = function() {
  x = 2;
};