Another regression test for resolving references to "this" in strict mode.
authorishell <ishell@chromium.org>
Tue, 19 May 2015 12:52:02 +0000 (05:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 19 May 2015 12:51:42 +0000 (12:51 +0000)
BUG=chromium:487105
LOG=N

Review URL: https://codereview.chromium.org/1136123010

Cr-Commit-Position: refs/heads/master@{#28480}

test/mjsunit/regress/regress-crbug-487105.js [new file with mode: 0644]

diff --git a/test/mjsunit/regress/regress-crbug-487105.js b/test/mjsunit/regress/regress-crbug-487105.js
new file mode 100644 (file)
index 0000000..160f9b0
--- /dev/null
@@ -0,0 +1,9 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+"use strict";
+function assertThrows() {
+  eval();
+};
+eval("delete this;")