New test.
authorMarek Safar <marek.safar@gmail.com>
Fri, 26 Mar 2010 14:36:40 +0000 (14:36 -0000)
committerMarek Safar <marek.safar@gmail.com>
Fri, 26 Mar 2010 14:36:40 +0000 (14:36 -0000)
svn path=/trunk/mcs/; revision=154276

mcs/tests/test-745.cs [new file with mode: 0644]

diff --git a/mcs/tests/test-745.cs b/mcs/tests/test-745.cs
new file mode 100644 (file)
index 0000000..73a8c03
--- /dev/null
@@ -0,0 +1,17 @@
+using System;
+
+interface ITest
+{
+}
+
+class C : ITest
+{
+       public static void Main ()
+       {
+               ITest it = new C ();
+               it.GetType ();
+
+               IConvertible ic = 1 as IConvertible;
+               var t = ic.GetType ();
+       }
+}