diff options
Diffstat (limited to 'deps/v8/test/message/fail/call-non-constructable.js')
-rw-r--r-- | deps/v8/test/message/fail/call-non-constructable.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/v8/test/message/fail/call-non-constructable.js b/deps/v8/test/message/fail/call-non-constructable.js new file mode 100644 index 0000000000..261acbdad0 --- /dev/null +++ b/deps/v8/test/message/fail/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(); |