Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add test
  • Loading branch information
EgorBo committed Nov 3, 2021
commit 0ce6c725a63412d660c2abc9ea9231d128d13bf8
31 changes: 31 additions & 0 deletions src/tests/JIT/Regression/JitBlue/Runtime_61037/Runtime_61037.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Generated by Fuzzlyn v1.5 on 2021-11-03 12:55:21
// Run on Arm64 Windows
// Seed: 951014135056301943
// Reduced from 152.5 KiB to 0.3 KiB in 00:01:22
// Hits JIT assert in Release:
// Assertion failed 'ins == INS_add' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Generate code' (IL size 28)
//
// File: D:\a\_work\3\s\src\coreclr\jit\emitarm64.cpp Line: 13602
//
public class C0
{
}

public class Program
{
public static int Main()
{
if (0 == (27452 + (-2147483647 * M1())))
{
var vr3 = new C0();
}

return 100;
}

public static long M1()
{
var vr1 = new C0[,] { { new C0() } };
return 0;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildProjectName).cs" />
</ItemGroup>
</Project>