Forgot to commit
[mono.git] / mcs / errors / cs1547-3.cs
index 68b17cbc9dfdfad3dcba774167a4093b9eeaaf27..4067318ce55031647bdd66c7e0512c407c055dd0 100644 (file)
@@ -1,13 +1,7 @@
-// CS1547: Keyword 'void' cannot be used in this context
-// Line: 7
-using System;
+// CS1547.cs: Keyword `void' cannot be used in this context
+// Line: 6
 
-class X
-{
-       void Test (void a)
-       { }
-
-       static void Main ()
-       {
-       }
-}
+class C {\r
+       const string s = "3";
+       public object o = (void)s;
+}
\ No newline at end of file