2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / tests / nonvirt.cs
1 using System;
2
3 public class TestObj {
4
5         public int amethod () {
6                 return 1;
7         }
8         
9         public static int Main () {
10                 TestObj obj = null;
11
12                 try {
13                         obj.amethod ();
14                 } catch (NullReferenceException) {
15                         return 0;
16                 }
17                 
18                 return 1;
19         }
20 }
21
22