Skip to content

Commit

Permalink
Baseline more pri1 tests (dotnet#111068)
Browse files Browse the repository at this point in the history
I originally thought this found a real bug but this is just a really weird test exercising not just slow delegate creation path, but also quite invalid IL:

https://github.com/dotnet/runtime/blob/3d88f276b13ae4d2ffa6a66b02f32171fdc825b5/src/tests/JIT/Methodical/delegate/_simpleoddpower.il#L510-L517

(Notice that despite the newobj, the actual object instance is of a completely different type and the method is not on that type.)
  • Loading branch information
MichalStrehovsky authored Jan 30, 2025
1 parent 586e891 commit 0530b55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/JIT/Methodical/delegate/_simpleoddpower_d.ilproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<CLRTestPriority>1</CLRTestPriority>
<!-- Slow delegate creation path is not supported with native AOT -->
<NativeAotIncompatible>true</NativeAotIncompatible>
</PropertyGroup>
<PropertyGroup>
<DebugType>Full</DebugType>
Expand Down
2 changes: 2 additions & 0 deletions src/tests/JIT/Methodical/delegate/_simpleoddpower_r.ilproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.IL">
<PropertyGroup>
<CLRTestPriority>1</CLRTestPriority>
<!-- Slow delegate creation path is not supported with native AOT -->
<NativeAotIncompatible>true</NativeAotIncompatible>
</PropertyGroup>
<PropertyGroup>
<DebugType>PdbOnly</DebugType>
Expand Down

0 comments on commit 0530b55

Please sign in to comment.