summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js
diff options
context:
space:
mode:
Diffstat (limited to 'external/contributions/Google/sputnik_conformance_modified/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js')
-rw-r--r--external/contributions/Google/sputnik_conformance_modified/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/external/contributions/Google/sputnik_conformance_modified/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js b/external/contributions/Google/sputnik_conformance_modified/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js
new file mode 100644
index 000000000..10c2bdb18
--- /dev/null
+++ b/external/contributions/Google/sputnik_conformance_modified/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3.js
@@ -0,0 +1,20 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @name: S7.9_A6.3_T3;
+ * @section: 7.9, 12.6.3;
+ * @assertion: Check For Statement for automatic semicolon insertion.
+ * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement.
+ * Don`t use semicolons;
+ * @description: For header is (\n \n \n);
+ * @negative
+*/
+
+//CHECK#1
+for(
+
+
+) {
+ break;
+}