| // Copyright (C) 2018 Leo Balter. All rights reserved. | |
| // This code is governed by the BSD license found in the LICENSE file. | |
| /*--- | |
| desc: import() can be used in script code | |
| template: syntax/valid | |
| ---*/ | |
| //- setup | |
| // This is still valid in script code, and should not be valid for module code | |
| // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames | |
| var smoosh; function smoosh() {} | |
| //- import | |
| import('./empty_FIXTURE.js') |