Skip to content

Commit

Permalink
JIT: Fix assignment for test 105484 (#105834)
Browse files Browse the repository at this point in the history
* Fix assignment

* fix no-warn
  • Loading branch information
TIHan authored Aug 1, 2024
1 parent 0e8db73 commit 1337553
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

public class Runtime_105484
{
private static byte[] s_1;
private static byte[,, ] s_2;
private static byte[] s_1 = new byte[1];
private static byte[,, ] s_2 = new byte[1, 1, 1];
private static Vector<uint> s_5;

[MethodImpl(MethodImplOptions.NoInlining)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Optimize>True</Optimize>
<NoWarn>SYSLIB5003</NoWarn>
<NoWarn>$(NoWarn);SYSLIB5003</NoWarn>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildProjectName).cs" />
Expand Down

0 comments on commit 1337553

Please sign in to comment.