This case was previously failing on xplat JIT enabled debugging.
@@ -0,0 +1 @@
+[]
@@ -0,0 +1,17 @@
+//-------------------------------------------------------------------------------------------------------
+// Copyright (C) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
+
+function empty() { }
+WScript.Attach(empty)
+WScript.Detach(empty)
+for (var i = 0; i < 10; i++)
+{
+ function emptyn() { }
+ WScript.Attach(emptyn)
+ WScript.Detach(emptyn)
+}
+print("PASS")
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<regress-exe>
+ <test>
+ <default>
+ <compile-flags>-dbgbaseline:empty.baseline</compile-flags>
+ <files>failfast.js</files>
+ </default>
+ </test>
<test>
<default>
<compile-flags>-dbgbaseline:JsDiagBreakpoints.js.dbg.baseline</compile-flags>