summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/self-test/printer-escape-seq.js
blob: 80c7fa6b821003fc4f8fb564ec2fafd377ef80e7 (plain)
1
2
3
4
5
// |jit-test| skip-if: !getBuildConfiguration("debug")

// Due to sign extension of characters, we might accidentally extend \xAF into
// \uFFAF, which is incorrect.
assertEq(disassemble("'\xAF'").includes("FFAF"), false);