eol
[mcs.git] / tests / test-partial-12.cs
blob0e6e9e12c33fa04a95e54ec68f7ccfa3d1bbc009
1 // Compiler options: -langversion:default
3 using System;
5 namespace Test1
7 public partial class Foo
9 internal static System.Collections.IEnumerable E ()
11 yield return "a";
16 class X
18 static int Main ()
20 foreach (string s in Test1.Foo.E())
22 Console.WriteLine (s);
23 if (s != "a")
24 return 1;
26 return 0;
28 return 2;