summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/future-reserved-words/transient.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/language/future-reserved-words/transient.js')
-rw-r--r--js/src/tests/test262/language/future-reserved-words/transient.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/future-reserved-words/transient.js b/js/src/tests/test262/language/future-reserved-words/transient.js
new file mode 100644
index 0000000000..f5ad06b512
--- /dev/null
+++ b/js/src/tests/test262/language/future-reserved-words/transient.js
@@ -0,0 +1,14 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-future-reserved-words
+es5id: 7.6.1.2_A1.30
+description: Checking if execution of "transient=1" succeeds
+info: |
+ `transient` was removed from the list of future reserved words in ECMAScript 5.
+---*/
+
+var transient = 1;
+
+reportCompare(0, 0);