Skip to content

Commit 0838158

Browse files
committed
Add test for octal literals in es3 strict mode
1 parent 72cf78f commit 0838158

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
==== tests/cases/conformance/parser/ecmascript5/StrictMode/octalLiteralInStrictModeES3.ts (1 errors) ====
2+
"use strict";
3+
03;
4+
~~
5+
!!! Octal literals are not allowed in strict mode.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
03;

0 commit comments

Comments
 (0)