Index: test/message/instanceof-noncallable.js |
diff --git a/test/mjsunit/regress/regress-2690.js b/test/message/instanceof-noncallable.js |
similarity index 97% |
copy from test/mjsunit/regress/regress-2690.js |
copy to test/message/instanceof-noncallable.js |
index 0ed4c5c679a61e0fdb91cd0758b1246aa8f36565..571a2b0c7667d750c4385675bd628652bf7c0bb2 100644 |
--- a/test/mjsunit/regress/regress-2690.js |
+++ b/test/message/instanceof-noncallable.js |
@@ -25,4 +25,6 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-assertTrue(/\1[a]/.test("\1a")); |
+// Flags: --harmony-instanceof |
+ |
+1 instanceof {}; |