mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Add test for octal literals in es3 strict mode
This commit is contained in:
parent
72cf78f681
commit
083815893b
@ -0,0 +1,5 @@
|
||||
==== tests/cases/conformance/parser/ecmascript5/StrictMode/octalLiteralInStrictModeES3.ts (1 errors) ====
|
||||
"use strict";
|
||||
03;
|
||||
~~
|
||||
!!! Octal literals are not allowed in strict mode.
|
||||
@ -0,0 +1,2 @@
|
||||
"use strict";
|
||||
03;
|
||||
Loading…
x
Reference in New Issue
Block a user