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
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
test-async-25.cs
blob
55a0197f9553b5f3c38c66d6c3eb93af0cf275aa
1
using
System
;
2
using
System
.
Threading
.
Tasks
;
3
4
class
Program
5
{
6
static void
CompilationTestOnly
()
7
{
8
var
t
=
new
Task
<
int
> (() =>
5
);
9
var
t2
=
Task
.
Run
(() =>
{ return t; }
);
10
}
11
12
public static void
Main
()
13
{
14
}
15
}