js/src/tests/ecma_3/Unicode/uc-002-n.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:7fa5ad791ef7
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6
7 DESCRIPTION = "Non-character escapes in identifiers negative test.";
8 EXPECTED = "error";
9
10 enterFunc ("test");
11
12 printStatus ("Non-character escapes in identifiers negative test.");
13 printBugNumber (23607);
14
15 eval("\u0020 = 5");
16 reportCompare('PASS', 'FAIL', "Previous statement should have thrown an error.");
17
18 exitFunc ("test");
19

mercurial