Author: raja
Date: 2006-09-22 10:14:55 -0400 (Fri, 22 Sep 2006)
New Revision: 65817

Added:
   trunk/mcs/tests/test-531-lib.il
   trunk/mcs/tests/test-531.cs
Modified:
   trunk/mcs/tests/ChangeLog
Log:
* test-531.cs, test-531-lib.il: New test from #79451.


Modified: trunk/mcs/tests/ChangeLog
===================================================================
--- trunk/mcs/tests/ChangeLog   2006-09-22 14:09:55 UTC (rev 65816)
+++ trunk/mcs/tests/ChangeLog   2006-09-22 14:14:55 UTC (rev 65817)
@@ -1,3 +1,7 @@
+2006-09-22  Raja R Harinath  <[EMAIL PROTECTED]>
+
+       * test-531.cs, test-531-lib.il: New test from #79451.
+
 2006-09-01  Martin Baulig  <[EMAIL PROTECTED]>
 
        * gtest-284.cs: New big test for the generic array interfaces.

Added: trunk/mcs/tests/test-531-lib.il
===================================================================
--- trunk/mcs/tests/test-531-lib.il     2006-09-22 14:09:55 UTC (rev 65816)
+++ trunk/mcs/tests/test-531-lib.il     2006-09-22 14:14:55 UTC (rev 65817)
@@ -0,0 +1,25 @@
+.assembly extern mscorlib {}
+.assembly 'test-531-lib' {}
+.module 'test-531-lib.dll'
+.imagebase 0x00400000
+.subsystem 0x00000003
+.file alignment 512
+.corflags 0x00000001
+
+.class public auto ansi beforefieldinit TestLib
+       extends [mscorlib]System.Object
+{
+  .field static privatescope int32 FOO
+
+  .method public hidebysig specialname static int32
+          get_FOO() cil managed
+  {
+    ldsfld      int32 TestLib::FOO
+    ret
+  }
+
+  .property int32 FOO()
+  {
+    .get int32 TestLib::get_FOO()
+  }
+}


Property changes on: trunk/mcs/tests/test-531-lib.il
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/mcs/tests/test-531.cs
===================================================================
--- trunk/mcs/tests/test-531.cs 2006-09-22 14:09:55 UTC (rev 65816)
+++ trunk/mcs/tests/test-531.cs 2006-09-22 14:14:55 UTC (rev 65817)
@@ -0,0 +1,9 @@
+// Compiler options: -r:test-531-lib.dll
+
+public class Test
+{
+   public static void Main()
+   {
+      System.Console.WriteLine(TestLib.FOO);
+   }
+}


Property changes on: trunk/mcs/tests/test-531.cs
___________________________________________________________________
Name: svn:mime-type
   + text/cpp
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to