Index: test/message/call-non-constructable.js |
diff --git a/test/message/call-non-constructable.js b/test/message/call-non-constructable.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..261acbdad0ef03928d724cd722cc7b7b25a4dd12 |
--- /dev/null |
+++ b/test/message/call-non-constructable.js |
@@ -0,0 +1,8 @@ |
+// Copyright 2016 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. |
+ |
+// Note that {unescape} is an example of a non-constructable function. If that |
+// ever changes and this test needs to be adapted, make sure to choose another |
+// non-constructable {JSFunction} object instead. |
+new unescape(); |