02ac915603
Former-commit-id: 629e9b4e0300274209c1265fde8922ecbc21ec1f
27 lines
332 B
C#
27 lines
332 B
C#
using System;
|
|
|
|
public struct nint
|
|
{
|
|
public static implicit operator nint (int v)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
public class MainClass
|
|
{
|
|
static void Test (string key, int? value)
|
|
{
|
|
}
|
|
|
|
static void Test (string key, nint? value)
|
|
{
|
|
throw new ApplicationException ();
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
Test (null, int.MinValue);
|
|
}
|
|
}
|