Author: marek
Date: 2007-10-04 16:25:08 -0400 (Thu, 04 Oct 2007)
New Revision: 86909
Added:
trunk/mcs/tests/gtest-341-lib.cs
trunk/mcs/tests/gtest-341.cs
Log:
A test for bug #328022
Added: trunk/mcs/tests/gtest-341-lib.cs
===================================================================
--- trunk/mcs/tests/gtest-341-lib.cs 2007-10-04 20:24:59 UTC (rev 86908)
+++ trunk/mcs/tests/gtest-341-lib.cs 2007-10-04 20:25:08 UTC (rev 86909)
@@ -0,0 +1,9 @@
+// Compiler options: -target:library
+
+using System;
+using System.Runtime.CompilerServices;
+
+public interface IA {
+ [SpecialName]
+ int GetLength ();
+}
Added: trunk/mcs/tests/gtest-341.cs
===================================================================
--- trunk/mcs/tests/gtest-341.cs 2007-10-04 20:24:59 UTC (rev 86908)
+++ trunk/mcs/tests/gtest-341.cs 2007-10-04 20:25:08 UTC (rev 86909)
@@ -0,0 +1,18 @@
+// Compiler options: -r:gtest-341-lib.dll
+
+using System;
+
+public class C : IA
+{
+ public int GetLength ()
+ {
+ return 0;
+ }
+}
+
+public class Tests
+{
+ public static void Main ()
+ {
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches