Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-iter-18.cs
1 using System.Collections.Generic;
2
3 public class c
4 {
5         public static IEnumerable<char> func ()
6         {
7                 yield return '0';
8                 yield break;
9                 foreach (char c in "1") {
10                         yield return c;
11                 }
12         }
13
14         public static void Main ()
15         {
16                 foreach (char a in func ()) {
17                 }
18         }
19 }