[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-290.cs
blob76c7d2c1e7dcca3ebc175fed6f1872b4f2582cd4
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 public static void Main () {
10 if (FooEvent != null)
11 FooEvent (null);
12 object bar = new EventHandler (bar_f);