aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js')
-rw-r--r--test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js38
1 files changed, 0 insertions, 38 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js b/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js
deleted file mode 100644
index 940febc49..000000000
--- a/test/suite/sputnik_converted/12_Statement/12.2_Variable_Statement/S12.2_A12.js
+++ /dev/null
@@ -1,38 +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_A12;
-* @section: 12.2;
-* @assertion: VariableDeclaration within "do-while" loop is allowed;
-* @description: Declaring variable within "do-while" statement;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.2_A12",
-
-path: "TestCases/12_Statement/12.2_Variable_Statement/S12.2_A12.js",
-
-assertion: "VariableDeclaration within \"do-while\" loop is allowed",
-
-description: "Declaring variable within \"do-while\" statement",
-
-test: function testcase() {
- //////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-try {
- x=x;
-} catch (e) {
- $ERROR('#1: Declaration variable inside "do-while" statement is admitted');
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-do var x; while (false);
-
- }
-});
-