aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js')
-rw-r--r--test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js26
1 files changed, 14 insertions, 12 deletions
diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js b/test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js
index 295abc5d1..3e3df39c1 100644
--- a/test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js
+++ b/test/suite/ch07/7.6/7.6.1/7.6.1-7-14.js
@@ -1,14 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-7-14.js
- * @description Allow reserved words as property names by index assignment, accessed via indexing: public, yield, interface
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Allow reserved words as property names by index assignment,
+ accessed via indexing: public, yield, interface
+includes: [runTestCase.js]
+---*/
+
function testcase() {
var tokenCodes = {};
tokenCodes['public'] = 0;
@@ -26,4 +28,4 @@ function testcase() {
}
return true;
}
-runTestCase(testcase);
+runTestCase(testcase);