The production under test is also used in the following file: test/language/literals/numeric/legacy-octal-integer-strict.js That test expresses the syntax with literal source text, making it useful for parsers. Remove this test in favor of the other.