summaryrefslogtreecommitdiff
path: root/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js
diff options
context:
space:
mode:
authorDavid Fugate <dfugate@microsoft.com>2010-10-18 20:50:07 -0700
committerDavid Fugate <dfugate@microsoft.com>2010-10-18 20:50:07 -0700
commit7ad0405bbd157fc5df266b83b33bd202e8d5cdee (patch)
tree6fff4b80c87381c0d72e454455634a8940a24138 /test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js
parente5166d9d2084252928f0adac5c89f3e2222714f5 (diff)
downloadtest262-7ad0405bbd157fc5df266b83b33bd202e8d5cdee.tar.gz
This commit includes Microsoft's initial contributions to Test262:
- external\contributions\: test contributions to Test262 from external entities such as Microsoft and Google. This directory consists of the external tests without any modifications - test\harness\: test harness used to run Test262 tests. Presently web-based - test\suite\: suite of vendor-neutral ECMAScript test cases conforming to the ES5 spec - tools\: among other things this includes a set of tools used to convert various external test contributions to a format the Test262 test harness can consume - website\: an archived copy of the http://test262.ecmascript.org website
Diffstat (limited to 'test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js')
-rw-r--r--test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js
new file mode 100644
index 000000000..e7c47e571
--- /dev/null
+++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11.js
@@ -0,0 +1,12 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @name: S7.5.3_A1.11;
+ * @section: 7.5.3;
+ * @assertion: The "extends" token can not be used as identifier;
+ * @description: Checking if execution of "extends=1" fails;
+ * @negative
+*/
+
+extends = 1;