summaryrefslogtreecommitdiff
path: root/test/language/asi/S7.9_A9_T7.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/asi/S7.9_A9_T7.js')
-rw-r--r--test/language/asi/S7.9_A9_T7.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/language/asi/S7.9_A9_T7.js b/test/language/asi/S7.9_A9_T7.js
new file mode 100644
index 000000000..3d2fe4aef
--- /dev/null
+++ b/test/language/asi/S7.9_A9_T7.js
@@ -0,0 +1,14 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+info: Check Do-While Statement for automatic semicolon insertion
+es5id: 7.9_A9_T7
+description: Execute do \n\n while(false)
+negative: SyntaxError
+---*/
+
+//CHECK#1
+do
+
+while (false)