ed1e77d3 A |
1 | function shouldBe(actual, expected) { |
2 | if (actual !== expected) |
3 | throw new Error("bad value: " + actual); |
4 | } |
5 | |
6 | function test() { |
7 | shouldBe(eval("(`\0`)"), "\0"); |
8 | shouldBe(eval("('\0')"), "\0"); |
9 | } |
10 | noInline(test); |
11 | |
12 | for (var i = 0; i < 10000; ++i) |
13 | test(); |