summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4.js
blob: ec1fa32e75db39c8a70f4e5460238932e2324ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
//
//////////////////////////////////////////////////////////////////////////////