| Index: test/mjsunit/harmony/module-parsing.js
|
| diff --git a/test/mjsunit/harmony/module-parsing.js b/test/mjsunit/harmony/module-parsing.js
|
| index ac398636da852a2f1daaedf7187c892ee5eac38a..5a5e82fdb17f34d4a0d18882a4002b58c1b0a862 100644
|
| --- a/test/mjsunit/harmony/module-parsing.js
|
| +++ b/test/mjsunit/harmony/module-parsing.js
|
| @@ -63,18 +63,28 @@ module E3 = E1.F
|
|
|
| // Check that ASI does not interfere.
|
|
|
| -module
|
| -X
|
| +module X
|
| {
|
| let x
|
| }
|
|
|
| -module
|
| -Y
|
| +module Y
|
| =
|
| X
|
|
|
| -module
|
| -Z
|
| +module Z
|
| at
|
| "file://local"
|
| +
|
| +
|
| +// Check that 'module' still works as an identifier.
|
| +
|
| +var module
|
| +module = {}
|
| +module["a"] = 6
|
| +function module() {}
|
| +function f(module) { return module }
|
| +try {} catch (module) {}
|
| +
|
| +module
|
| +v = 20
|
|
|