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
Fix LLVM linker flags for 6.0.
[mono-project.git]
/
mcs
/
tests
/
gtest-298.cs
blob
05dee4de4f6e7161104d4a0075c5f365b86ab104
1
delegate void
TestFunc
<
T
> (
T val
);
2
3
class
A
4
{
5
public
A
(
TestFunc
<
int
>
func
)
6
{
7
func
(
0
);
8
}
9
}
10
11
class
TestClass
12
{
13
static int
i
=
1
;
14
static readonly
A a
=
new
A
(
delegate
(
int
a
)
{ i = a; }
);
15
16
public static int
Main
()
17
{
18
return
i
;
19
}
20
}