Author: martin
Date: 2005-12-08 12:11:21 -0500 (Thu, 08 Dec 2005)
New Revision: 54115
Added:
trunk/mcs/errors/gcs1547.cs
Log:
New CS1547 test case.
Added: trunk/mcs/errors/gcs1547.cs
===================================================================
--- trunk/mcs/errors/gcs1547.cs 2005-12-08 17:11:03 UTC (rev 54114)
+++ trunk/mcs/errors/gcs1547.cs 2005-12-08 17:11:21 UTC (rev 54115)
@@ -0,0 +1,12 @@
+// CS1547: Keyword `void' cannot be used in this context
+// Line: 10
+class Foo<T>
+{ }
+
+class X
+{
+ static void Main ()
+ {
+ Foo<void> foo;
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches