summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/fields/bug1540798.js
blob: 9c6b61205ce895222f9349d962cdeb370afd8723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
try { evaluate(`
class constructor  { get;                                           } // Long line is long
// Long line XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
test();
function test() {
    try {
      x;
    } catch (v) {
      gc();
    }
}
test();
`); } catch(exc) {}
constructor.toString();