Author: marek
Date: 2006-12-11 14:06:23 -0500 (Mon, 11 Dec 2006)
New Revision: 69351
Added:
trunk/mcs/tests/test-542.cs
Log:
New test.
Added: trunk/mcs/tests/test-542.cs
===================================================================
--- trunk/mcs/tests/test-542.cs 2006-12-11 19:05:50 UTC (rev 69350)
+++ trunk/mcs/tests/test-542.cs 2006-12-11 19:06:23 UTC (rev 69351)
@@ -0,0 +1,18 @@
+class C
+{
+ static void Test (C arg)
+ {
+ }
+
+ public static void Main ()
+ {
+ object value = null;
+ C.Test(
+#if true
+ (C)
+#else
+ no error here
+#endif
+ value);
+ }
+}
\ No newline at end of file
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches