Add test for octal literals in es3 strict mode

This commit is contained in:
Jason Freeman 2014-08-06 16:26:34 -07:00
parent 72cf78f681
commit 083815893b
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -0,0 +1,2 @@
"use strict";
03;