[configure] Add new target.
[mono-project.git] / mcs / tests / gtest-iter-20.cs
blob4b6b63db5b997d8aee37e8fd72447e391359e6b6
1 using System;
2 using System.Collections;
4 class X
6 public static int Main ()
8 foreach (var i in GetAll ()) {
11 return 0;
14 static IEnumerable GetAll ()
16 yield return 1;
17 if (false) {
18 yield return 2;