summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/xdr/private-fields.js
blob: 52b7bdd5aa125cbd69bc4cfa50add1da2ebbf2f4 (plain)
1
2
3
4
5
6
7
8
9
load(libdir + 'bytecode-cache.js');

function test() {
  class A {
    #x;
  }
};

evalWithCache(test.toString(), { assertEqBytecode: true, assertEqResult: true });