Index: test/mjsunit/strict-mode.js |
diff --git a/test/mjsunit/strict-mode.js b/test/mjsunit/strict-mode.js |
index f7f95da88c99592e792e9e6b45b13d2ce4b1c545..21f9ab8dc02d7fa798f2b2f2a306104561ea822b 100644 |
--- a/test/mjsunit/strict-mode.js |
+++ b/test/mjsunit/strict-mode.js |
@@ -153,6 +153,11 @@ CheckStrictMode("'Hello octal\\032'"); |
CheckStrictMode("function octal() { return 012; }"); |
CheckStrictMode("function octal() { return '\\032'; }"); |
+// NonOctalDecimalIntegerLiteral |
+CheckStrictMode("var x = 018"); |
+CheckStrictMode("081"); |
+CheckStrictMode("function octal() { return 0181; }"); |
+ |
(function ValidEscape() { |
"use strict"; |
var x = '\0'; |