Author: marek
Date: 2008-01-24 04:49:31 -0500 (Thu, 24 Jan 2008)
New Revision: 93771

Added:
   trunk/mcs/tests/gtest-initialize-07.cs
Log:
2008-01-24  Marek Safar  <[EMAIL PROTECTED]>

        A test for bug #354928
        


Added: trunk/mcs/tests/gtest-initialize-07.cs
===================================================================
--- trunk/mcs/tests/gtest-initialize-07.cs      2008-01-24 09:49:03 UTC (rev 
93770)
+++ trunk/mcs/tests/gtest-initialize-07.cs      2008-01-24 09:49:31 UTC (rev 
93771)
@@ -0,0 +1,20 @@
+public class A
+{
+       public string Name { get; set; }
+       
+       public bool Matches (string s)
+       {
+               return Name == s;
+       }
+}
+
+class M
+{
+       public static int Main ()
+       {
+               if (!new A () { Name = "Foo" }.Matches ("Foo"))
+                       return 1;
+               
+               return 0;
+       }
+}
\ No newline at end of file


Property changes on: trunk/mcs/tests/gtest-initialize-07.cs
___________________________________________________________________
Name: svn:eol-style
   + native

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

Reply via email to