Take stars out of types where they make more sense.
[mono-project.git] / mcs / tests / gtest-230.cs
blob092dc99da25cbc855a3acabccde8747d90d321d7
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 //
8 class A { }
10 public class B {
11 static int goo <T1, T2, T3, T4, T5> (int d) { return 3; }
13 static void foo (int x) { }
14 static void foo (bool h, int x, int y, int j, bool k) { }
16 public void Add (object x) { }
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);