svn path=/trunk/mcs/; revision=104772
[mono.git] / mcs / errors / cs1503-5.cs
1 // CS1503: Argument 5: Cannot convert type `void' to `object'
2 // Line: 14
3
4 using System;
5
6 public class foo
7 {
8         public static void voidfunc()
9         {
10         }
11
12         public static void Main()
13         {
14                 Console.WriteLine ("Whoops: {0} {1}", 0, 1, 2, voidfunc());
15         }
16 }