[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-exmethod-13.cs
1
2
3 using System;
4 using System.Collections.Generic;
5
6 public static class Foo
7 {
8         public static IEnumerable<T> Reverse<T> (this IEnumerable<T> self)
9         {
10                 return self;
11         }
12
13         public static void Main ()
14         {
15                 int [] data = {0, 1, 2};
16
17                 var rev = data.Reverse ();
18         }
19 }