diff options
Diffstat (limited to 'js/src/jit-test/tests/xdr/private-fields.js')
-rw-r--r-- | js/src/jit-test/tests/xdr/private-fields.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/xdr/private-fields.js b/js/src/jit-test/tests/xdr/private-fields.js new file mode 100644 index 0000000000..dfea2b6a62 --- /dev/null +++ b/js/src/jit-test/tests/xdr/private-fields.js @@ -0,0 +1,10 @@ +// |jit-test| --enable-private-fields; +load(libdir + 'bytecode-cache.js'); + +function test() { + class A { + #x; + } +}; + +evalWithCache(test.toString(), {assertEqBytecode: true, assertEqResult: true}); |