mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-09 07:55:10 -05:00
Add test for octal literals in es3 strict mode
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user