summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/simple-imports.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/modules/simple-imports.js')
-rw-r--r--js/src/jit-test/tests/modules/simple-imports.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/modules/simple-imports.js b/js/src/jit-test/tests/modules/simple-imports.js
new file mode 100644
index 0000000000..a0c894ef63
--- /dev/null
+++ b/js/src/jit-test/tests/modules/simple-imports.js
@@ -0,0 +1,11 @@
+// |jit-test| module
+
+import { a } from "module1.js";
+import { b } from "module2.js";
+import { c } from "module3.js";
+import d from "module4.js";
+
+assertEq(a, 1);
+assertEq(b, 2);
+assertEq(c, 3);
+assertEq(d, 4);