repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reenable AOT, it wasn't enabled on the x86 buildbot anyway.
[mcs.git]
/
tests
/
gtest-anon-32.cs
blob
60b897f61c70b06bffd77d16f4ec921af67aee1e
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
public class
Program
{
5
6
public static void
Assert
(
Action
<
int
>
action
)
7
{
8
action
(
42
);
9
}
10
11
public static void
Foo
<
T
> (
IList
<
T
>
list
)
12
{
13
Assert
(
i
=> {
14
T
[]
backup
=
new
T
[
list
.
Count
];
15
});
16
}
17
18
public static void
Main
(
string
[]
args
)
19
{
20
Foo
(
args
);
21
}
22
}