summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/import-default-function.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/modules/import-default-function.js')
-rw-r--r--js/src/jit-test/tests/modules/import-default-function.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/modules/import-default-function.js b/js/src/jit-test/tests/modules/import-default-function.js
new file mode 100644
index 000000000..95e962448
--- /dev/null
+++ b/js/src/jit-test/tests/modules/import-default-function.js
@@ -0,0 +1,4 @@
+// |jit-test| module
+
+import f from "defaultFunction.js";
+assertEq(f(21), 42);