Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-230.cs
1 //
2 // This example is from bug: 72908
3 //
4 // Showed a problem with the use of "<" in certain expressions
5 // that were confusing the parser
6 //
7
8 class A { }
9   
10 public class B {
11   static int goo <T1, T2, T3, T4, T5> (int d) { return 3; }
12
13   static void foo (int x) { }
14   static void foo (bool h, int x, int y, int j, bool k) { }
15
16   public void Add (object x) { }
17
18   public static void Main () {
19     int A = 4;
20     int goo1 = 3;
21     foo (goo <A, A, A, A, A> (1));
22     foo (goo1 <A, A, A, A, A > goo1);
23   }
24 }
25
26
27