projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #4419 from BrzVlad/fix-oom-nre
[mono.git]
/
mcs
/
tests
/
gtest-iter-29.cs
1
using System;
2
using System.Linq;
3
using System.Collections.Generic;
4
5
public class Test
6
{
7
public static int Main ()
8
{
9
var x = Test2 ();
10
if (x.Count () != 0)
11
return 1;
12
13
Console.WriteLine ("ok");
14
return 0;
15
}
16
17
public static IEnumerable<int> Test2 ()
18
{
19
while (false)
20
yield return 5;
21
}
22
}