[netcore] Disable a flaky test on interpreter (#18904)
[mono-project.git] / mono / tests / generic-unmanaged-constraint.cs
blob0718ec0c89800222184ca2aa7c9cf5a8fd2506c6
1 using System;
3 unsafe class Program
5 public static int Main(string[] args)
7 return (int)(IntPtr)Generic<int>.GetPtr();
11 unsafe class Generic<T> where T : unmanaged
13 public static T* GetPtr()
15 return (T*)null;