2003-04-24 Ville Palo <vi64pa@kolumbus.fi>
[mono.git] / mcs / errors / error-4.cs
1 // This should not compile as void can't be converted to bool
2
3 using System;
4
5 public class MainClass
6 {
7         public static void Main()
8         {
9                 test MyBug = new test();
10                 Console.WriteLine (MyBug.mytest());
11         }
12 }
13
14 public class   test
15 {
16         public void mytest()
17         {
18                 Console.WriteLine("test");
19         }
20 }
21
22