summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-14 08:40:37 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-14 08:40:37 +0200
commit87e4f43be04313da7b4b5ede81c9c97b6bd5394c (patch)
tree353df2087242c0f21a152241aa8012e8f18ad422 /js/src/jit-test
parent386266fab1d56b6ca116271d4670155653fa43ff (diff)
downloadUXP-87e4f43be04313da7b4b5ede81c9c97b6bd5394c.tar
UXP-87e4f43be04313da7b4b5ede81c9c97b6bd5394c.tar.gz
UXP-87e4f43be04313da7b4b5ede81c9c97b6bd5394c.tar.lz
UXP-87e4f43be04313da7b4b5ede81c9c97b6bd5394c.tar.xz
UXP-87e4f43be04313da7b4b5ede81c9c97b6bd5394c.zip
Bug 1320993 - Fix exporting default class expression
Diffstat (limited to 'js/src/jit-test')
-rw-r--r--js/src/jit-test/tests/modules/bug-1320993.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/modules/bug-1320993.js b/js/src/jit-test/tests/modules/bug-1320993.js
new file mode 100644
index 000000000..bece5731a
--- /dev/null
+++ b/js/src/jit-test/tests/modules/bug-1320993.js
@@ -0,0 +1,2 @@
+parseModule("export default (class {})");
+parseModule("export default (class A {})");