projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
gtest-etree-13.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Linq.Expressions;
5
6
class Program
7
{
8
public static int Main ()
9
{
10
foreach (int o in Test<bool> (1)) {
11
}
12
13
return 0;
14
}
15
16
static IEnumerable<int> Test<T> (int i)
17
{
18
Expression<Func<int>> e = () => i;
19
yield return 1;
20
}
21
}