repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git]
/
mcs
/
tests
/
test-467.cs
blob
baea1270e55c2a407a5feac34517ed0d0f52b51c
1
using
System
;
2
3
class
A
4
{
5
public delegate int
D
();
6
}
7
8
class
B
:
A
9
{
10
new delegate void
D
();
11
}
12
13
class
C
14
{
15
static int
Foo
()
16
{
17
return
1
;
18
}
19
20
public static int
Main
()
21
{
22
A
.
D d
=
new
B
.
D
(
Foo
);
23
if
(
d
() !=
1
)
24
return
1
;
25
26
return
0
;
27
}
28
}