[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-iter-19.cs
1 using System;
2 using System.Collections;
3
4 public class Test
5 {
6         public static void Main ()
7         {
8                 foreach (object o in new Test ())
9                         Console.WriteLine (o);
10         }
11
12         public IEnumerator GetEnumerator ()
13         {
14                 int i = 2;
15                 yield return 3;
16         }
17 }