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
add failing test for bnc550722
[mcs.git]
/
tests
/
gtest-etree-13.cs
blob
c639766a89fbc1813bcb759aaea0460b7fc31789
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
using
System
.
Linq
;
4
using
System
.
Linq
.
Expressions
;
5
6
class
Program
7
{
8
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
}