We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a282b commit 228272eCopy full SHA for 228272e
src/tests/JIT/Regression/JitBlue/Runtime_103600/Runtime_103600.cs
@@ -1,6 +1,7 @@
1
// Licensed to the .NET Foundation under one or more agreements.
2
// The .NET Foundation licenses this file to you under the MIT license.
3
4
+using System;
5
using System.Runtime.CompilerServices;
6
using Xunit;
7
@@ -16,9 +17,27 @@
16
17
public class Runtime_103600
18
{
19
[Fact]
- public static void TestEntryPoint()
20
+ public static int TestEntryPoint()
21
+ {
22
+ int result = 0;
23
+
24
+ try
25
26
+ Test();
27
+ }
28
+ catch (NullReferenceException)
29
30
+ result = 100;
31
32
33
+ return result;
34
35
36
+ [MethodImpl(MethodImplOptions.NoInlining)]
37
+ private static void Test()
38
39
ulong[] vr0 = default(ulong[]);
40
41
if (0 > vr0[0])
42
43
vr0 = vr0;
0 commit comments