2004-04-29 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / tests / property-main.cs
1 using System;
2
3 class X
4 {
5         static int Main ()
6         {
7                 Bar bar = new Bar ();
8                 if (bar.Message != "bar")
9                         return 1;
10
11                 Foo foo = new Foo ();
12                 if (foo.Message != "foo")
13                         return 2;
14
15                 Console.WriteLine ("Test ok");
16                 return 0;
17         }
18 }