Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2006-10-11 17:06:25 +0400
committerMiguel de Icaza <miguel@gnome.org>2006-10-11 17:06:25 +0400
commit434418044c69a4c4ef8dcc18de06c7f1ed25e261 (patch)
tree1357c89e26ea411f70958a642948a0bce685b191 /mcs/tests/test-535.cs
parentd70bc44dd6b3e1b12033b07ad9ed7e75722b8d6a (diff)
2006-10-11 Miguel de Icaza <miguel@novell.com>
* convert.cs: Remove broken code: I was doing the "Existance" tests for Implicit conversions. svn path=/trunk/mcs/; revision=66550
Diffstat (limited to 'mcs/tests/test-535.cs')
-rw-r--r--mcs/tests/test-535.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/tests/test-535.cs b/mcs/tests/test-535.cs
index 3de36e8c8a8..fabf3707e09 100644
--- a/mcs/tests/test-535.cs
+++ b/mcs/tests/test-535.cs
@@ -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){}
+
}