projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #260 from pcc/topmost
[mono.git]
/
mcs
/
tests
/
test-async-25.cs
1
// Compiler options: -langversion:future
2
using System;
3
using System.Threading.Tasks;
4
5
class Program
6
{
7
static void CompilationTestOnly ()
8
{
9
var t = new Task<int> (() => 5);
10
var t2 = Task.Run (() => { return t; });
11
}
12
13
public static void Main ()
14
{
15
}
16
}