[msvc] Update csproj files (#5745)
[mono.git] / mcs / tests / test-535.cs
index 3de36e8c8a8412d73628e5057564f7c3beff0f29..294c04e578be8e2588852396496096292d5c9130 100644 (file)
@@ -17,7 +17,7 @@
        
 using System;
 class X {
-       static void Main ()
+       public static void Main ()
        {
                UIntPtr a = (UIntPtr) 1;
 
@@ -35,4 +35,15 @@ class X {
                _uptr = (UIntPtr) _short;
                _uptr = (UIntPtr) _int;
        }
+
+       static void Compile ()
+       {
+               IntPtr a = (IntPtr) 1;
+               M (a);
+       }
+       
+       static void M (long l){}
+       static void M (UInt64 l){}
+       static void M (object o){}
+       
 }