You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.127
Former-commit-id: 629e9b4e0300274209c1265fde8922ecbc21ec1f
This commit is contained in:
parent
e79aa3c0ed
commit
02ac915603
26
mcs/tests/gtest-637.cs
Normal file
26
mcs/tests/gtest-637.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
79e1b18bf10b992f0e7b5578a81fb54ac33b8a94
|
||||
c705efa9a031fbfcd360998fccab5c8d635e52ed
|
||||
Reference in New Issue
Block a user