Update to latest spec
[mono.git] / mcs / tests / 2test-3.cs
index 314ad57b5f195f93746410b58ff75901468599e0..a96c571735182605eabbbf89e909b5e775e3a4c4 100644 (file)
@@ -8,13 +8,13 @@ class X {
        static IEnumerable GetIt (int [] args)
        {
                foreach (int a in args)
-                       yield a;
+                       yield return a;
        }
 
        static IEnumerable GetMulti (int [,] args)
        {
                foreach (int a in args)
-                       yield a;
+                       yield return a;
        }
        
        static int Main ()