Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-iter-13.cs
1 using System;
2 using System.Collections;
3
4 class Test
5 {
6         class Yp
7         {
8                 public IEnumerable fail ()
9                 {
10                         return null;
11                 }
12         }
13
14         static Yp YP = new Yp ();
15
16         public static void Main ()
17         {
18
19         }
20
21         public static IEnumerable syntax_error (object _Message, object _List)
22         {
23                 {
24                         yield break;
25                 }
26
27                 foreach (bool l1 in YP.fail ()) {
28                         yield return false;
29                 }
30         }
31 }