aboutsummaryrefslogtreecommitdiffstats
path: root/external/contributions/Google/sputniktests/tests/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'external/contributions/Google/sputniktests/tests/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js')
-rw-r--r--external/contributions/Google/sputniktests/tests/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/external/contributions/Google/sputniktests/tests/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js b/external/contributions/Google/sputniktests/tests/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js
new file mode 100644
index 000000000..204a4fbb0
--- /dev/null
+++ b/external/contributions/Google/sputniktests/tests/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T1.js
@@ -0,0 +1,13 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @name: S7.9_A9_T1;
+ * @section: 7.9, 12.6.1;
+ * @assertion: Check Do-While Statement for automatic semicolon insertion;
+ * @description: Execute do { \n }while(false);
+*/
+
+//CHECK#1
+do {
+} while (false)