2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-230.cs
blobdd2851bc453d9256dd759cc2e968685a2bbde47b
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 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);