diff options
Diffstat (limited to 'js/src/tests/non262/regress/regress-551763-2.js')
-rw-r--r-- | js/src/tests/non262/regress/regress-551763-2.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/tests/non262/regress/regress-551763-2.js b/js/src/tests/non262/regress/regress-551763-2.js new file mode 100644 index 0000000000..4bcb417439 --- /dev/null +++ b/js/src/tests/non262/regress/regress-551763-2.js @@ -0,0 +1,3 @@ +/* Check we can't delete a var-declared arguments in global space. */ +var arguments = 42; +reportCompare(delete arguments, false, "arguments defined as global variable"); |