Merge pull request #4998 from kumpera/fix_56684
[mono.git] / mcs / tests / test-290.cs
1 // Distilled from report in http://lists.ximian.com/archives/public/mono-devel-list/2004-September/007777.html
2
3 using System;
4
5 class EntryPoint {
6         delegate void EventHandler (object sender);
7         static event EventHandler FooEvent;
8         static void bar_f (object sender) {}
9         public static void Main () {
10                 if (FooEvent != null)
11                         FooEvent (null);
12                 object bar = new EventHandler (bar_f);
13         }
14 }