[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-iter-29.cs
blob9276d02ade71414d63aeae92e22d4c1c2562c07e
1 using System;
2 using System.Linq;
3 using System.Collections.Generic;
5 public class Test
7 public static int Main ()
9 var x = Test2 ();
10 if (x.Count () != 0)
11 return 1;
13 Console.WriteLine ("ok");
14 return 0;
17 public static IEnumerable<int> Test2 ()
19 while (false)
20 yield return 5;