aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js')
-rw-r--r--test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js48
1 files changed, 0 insertions, 48 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js b/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js
deleted file mode 100644
index 336491392..000000000
--- a/test/suite/sputnik_converted/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S12.8_A9_T2;
-* @section: 12.8;
-* @assertion: Using "break" within "try/catch" statement that is nested in a loop is allowed;
-* @description: Using "continue Identifier" within "catch" statement;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.8_A9_T2",
-
-path: "TestCases/12_Statement/12.8_The_break_Statement/S12.8_A9_T2.js",
-
-assertion: "Using \"break\" within \"try/catch\" statement that is nested in a loop is allowed",
-
-description: "Using \"continue Identifier\" within \"catch\" statement",
-
-test: function testcase() {
- var x=0,y=0;
-
-(function(){
-FOR : for(;;){
- try{
- x++;
- if(x===10)return;
- throw 1;
- } catch(e){
- break ;
- }
-}
-})();
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if (x!==1) {
- $ERROR('#1: break inside of try-catch nested in loop is allowed');
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-