aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js')
-rw-r--r--test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js54
1 files changed, 0 insertions, 54 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js
deleted file mode 100644
index 72c961c69..000000000
--- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js
+++ /dev/null
@@ -1,54 +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.2_A6_T2;
-* @section: 12.2;
-* @assertion: VariableDeclaration within "try-catch" statement is allowed;
-* @description: Declaring variables within "try-catch" statement;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.2_A6_T2",
-
-path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A6_T2.js",
-
-assertion: "VariableDeclaration within \"try-catch\" statement is allowed",
-
-description: "Declaring variables within \"try-catch\" statement",
-
-test: function testcase() {
- //////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-try{
- intry__intry__var=intry__intry__var;
- intry__incatch__var=intry__incatch__var;
- incatch__intry__var=incatch__intry__var;
- incatch__incatch__var=incatch__incatch__var;
-}catch(e){
- $ERROR('#1: Variable declaration inside "try-catch" block is admitted');
-};
-//
-//////////////////////////////////////////////////////////////////////////////
-
-try{
- try {
- var intry__intry__var;
- } catch (e) {
- var intry__incatch__var;
- }
-}catch(e){
- try {
- var incatch__intry__var;
- } catch (e) {
- var incatch__incatch__var;
- }
-
-};
-
- }
-});
-