Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2004-09-07 12:49:34 +0400
committerRaja R Harinath <harinath@hurrynot.org>2004-09-07 12:49:34 +0400
commit6d2121de5586c7abe3716a5190ff3aea0da65e9b (patch)
treee6178b54a3a34589b1b03c1545796714cde9f5ce /mcs
parentf0d8f97a976c7527e502259307ae36f8cc4dfd2b (diff)
Fix execution too.
svn path=/trunk/mcs/; revision=33482
Diffstat (limited to 'mcs')
-rw-r--r--mcs/tests/test-290.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcs/tests/test-290.cs b/mcs/tests/test-290.cs
index 99ebc8217e4..905fc6a706f 100644
--- a/mcs/tests/test-290.cs
+++ b/mcs/tests/test-290.cs
@@ -7,7 +7,8 @@ class EntryPoint {
static event EventHandler FooEvent;
static void bar_f (object sender) {}
static void Main () {
- FooEvent (null);
+ if (FooEvent != null)
+ FooEvent (null);
object bar = new EventHandler (bar_f);
}
}