[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-415.cs
blob4cfcd92e98f5ee9e5c2ace03ed718c5c1a68ab79
1 using System;
3 class Foo
5 public static int Main ()
7 if (Bar (1))
8 return 1;
10 if (!Bar (IntPtr.Zero))
11 return 2;
13 return 0;
16 static bool Bar<T> (T val) where T : struct
18 return val is IntPtr;