summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug1105608.js
blob: 98e6aded08a7221cce21f45cad28ef56ae7bae1e (plain)
1
2
3
4
5
6
7
8
9
// export-from should throw SyntaxError until it's implemented.

var caught = false;
try {
  eval("export { a } from 'b';");
} catch (e) {
  caught = true;
}
assertEq(caught, true);