remove NotWorking
[mcs.git] / tests / test-645.cs
blob00568fdbb77eeadef02a3a07b5eea6c7257de382
1 using System;
2 using System.Collections;
4 class Program
6 static public IEnumerable Empty {
7 get {
8 object [] os = new object [] { };
9 foreach (object o in os) {
10 yield return o;
15 static void Main()
17 IEnumerator enumerator = Empty.GetEnumerator();
18 if (enumerator.Current == null)
19 Console.WriteLine("Successful");
20 enumerator.MoveNext();
21 if (enumerator.Current == null)
22 Console.WriteLine("Successful");