Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-483.cs
1 // Compiler options: -r:test-483-lib.dll
2
3 using System;
4
5 public class Tests
6 {
7         public static void Main ()
8         {
9                 Bar bar = null;
10                 try { bar.clone (); } catch (NullReferenceException) {}
11         }
12 }
13
14 class B : Bar
15 {
16         public override object clone ()
17         {
18                 return null;
19         }
20 }