[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-163.cs
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
4
5 public class Foo<T>
6 {
7         public IEnumerator<T> getEnumerator (int arg)
8         {
9                 if (arg == 1) {
10                         int foo = arg;
11                         Console.WriteLine (foo);
12                 }
13
14                 if (arg == 2) {
15                         int foo = arg;
16                         Console.WriteLine (foo);
17                 }
18
19                 yield break;
20         }
21 }
22
23 class X
24 {
25         public static void Main ()
26         { }
27 }