Author: marek
Date: 2007-07-10 14:53:29 -0400 (Tue, 10 Jul 2007)
New Revision: 81737
Added:
trunk/mcs/tests/test-572.cs
Log:
New test.
Added: trunk/mcs/tests/test-572.cs
===================================================================
--- trunk/mcs/tests/test-572.cs 2007-07-10 18:48:26 UTC (rev 81736)
+++ trunk/mcs/tests/test-572.cs 2007-07-10 18:53:29 UTC (rev 81737)
@@ -0,0 +1,30 @@
+struct Color
+{
+ public static Color From (int i)
+ {
+ return new Color ();
+ }
+
+ public int ToArgb ()
+ {
+ return 0;
+ }
+}
+
+class C
+{
+ public Color Color {
+ get {
+ return new Color();
+ }
+ }
+
+ void ResetCustomColors ()
+ {
+ int default_color = Color.From(0).ToArgb ();
+ }
+
+ public static void Main ()
+ {
+ }
+}
Property changes on: trunk/mcs/tests/test-572.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches