[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-partial-12.cs
blobbed102e11dacf432f4b81bcd7c96f1fc8bf82285
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 public 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;