diff options
Diffstat (limited to 'external/contributions/Google/sputnik_conformance_modified/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js')
-rw-r--r-- | external/contributions/Google/sputnik_conformance_modified/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/external/contributions/Google/sputnik_conformance_modified/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js b/external/contributions/Google/sputnik_conformance_modified/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js new file mode 100644 index 000000000..ec1fa32e7 --- /dev/null +++ b/external/contributions/Google/sputnik_conformance_modified/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js @@ -0,0 +1,16 @@ +// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+* @name: S12.6.2_A6_T4;
+* @section: 12.6.2;
+* @assertion: Expression in "while" IterationStatement is bracketed with braces;
+* @description: Checking if execution of "while false break" fails;
+* @negative;
+*/
+
+//////////////////////////////////////////////////////////////////////////////
+//CHECK#1
+while false break;
+//
+//////////////////////////////////////////////////////////////////////////////
|