projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump version to 5.9.0 (#5692)
[mono.git]
/
mono
/
tests
/
delegate14.cs
1
using System;
2
3
// Regression test for bug #58888
4
5
public static class Program
6
{
7
public static int Main (string[] args)
8
{
9
ITest obj = null;
10
try
11
{
12
GC.KeepAlive((Action)obj.Func);
13
}
14
catch (NullReferenceException)
15
{
16
return 0;
17
}
18
19
return 1;
20
}
21
22
interface ITest
23
{
24
void Func ();
25
}
26
}