bring Mono Security to monotouch
[mcs.git] / tests / test-290.cs
blob905fc6a706f6b9c0c98b34a36f9226b424f65c05
1 // Distilled from report in http://lists.ximian.com/archives/public/mono-devel-list/2004-September/007777.html
3 using System;
5 class EntryPoint {
6 delegate void EventHandler (object sender);
7 static event EventHandler FooEvent;
8 static void bar_f (object sender) {}
9 static void Main () {
10 if (FooEvent != null)
11 FooEvent (null);
12 object bar = new EventHandler (bar_f);