Skip to content

Commit 1df4111

Browse files
authored
Fix build of coreclr test JIT/Regression/JitBlue/Runtime_1102138/Runtime_102138.csproj (#102371)
The coreclr test JIT/Regression/JitBlue/Runtime_1102138/Runtime_102138.csproj when build with BuildAllTestsAsStandalone=true environment variable set fails with an error: error XUW1002: Tests should not unconditionally return 100. Convert to a void return. The error message recommendation applied.
1 parent 43b7b53 commit 1df4111

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tests/JIT/Regression/JitBlue/Runtime_1102138/Runtime_102138.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,11 @@ public class Runtime_102138
4949
public static byte[] s_11;
5050

5151
[Fact]
52-
public static int TestEntryPoint()
52+
public static void TestEntryPoint()
5353
{
5454
var vr3 = new short[][][]{new short[][]{new short[]{0}}};
5555
var vr8 = new S5();
5656
s_10 = M8(vr8, ref s_11, vr3);
57-
return 100;
5857
}
5958

6059
public static ref S3 M8(S5 argThis, ref byte[] arg0, short[][][] arg1)

0 commit comments

Comments
 (0)