mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Add baseline
This commit is contained in:
parent
dfd0b8b525
commit
847eb097cb
@ -0,0 +1,20 @@
|
||||
tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts(2,16): error TS1163: Binary digit expected.
|
||||
tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts(3,17): error TS1163: Binary digit expected.
|
||||
tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts(4,15): error TS1164: Octal digit expected.
|
||||
tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts(5,15): error TS1164: Octal digit expected.
|
||||
|
||||
|
||||
==== tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts (4 errors) ====
|
||||
// Error
|
||||
var binary = 0b21010;
|
||||
|
||||
!!! error TS1163: Binary digit expected.
|
||||
var binary1 = 0B21010;
|
||||
|
||||
!!! error TS1163: Binary digit expected.
|
||||
var octal = 0o81010;
|
||||
|
||||
!!! error TS1164: Octal digit expected.
|
||||
var octal = 0O91010;
|
||||
|
||||
!!! error TS1164: Octal digit expected.
|
||||
Loading…
x
Reference in New Issue
Block a user