summaryrefslogtreecommitdiff
path: root/test/suite/sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13.js
blob: 34634e6280769a90b1e3c19f48e63e4f3f5057a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * @name: S12.14_A16_T13;
 * @section: 12.14;
 * @assertion: TryStatement: "try Block Catch" or "try Block Finally" or "try Block Catch Finally";
 * @description: Catch: "catch (Identifier ) Block". Checking if execution of "22" passes at the place of Identifier of "catch";
 * @negative
 */

// CHECK#1
try
{
}
catch("22")
{
}