summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/class/bug1357506.js
blob: 52a5643e62551b54d2708d97c242c3a267856fa8 (plain)
1
2
3
4
5
6
7
8
// Test that constructors that abort due to asm.js do not assert due to the
// parser keeping track of the FunctionBox corresponding to the constructor.

class a {
  constructor() {
    "use asm";
  }
}