Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2006-01-04 19:30:03 +0300
committerMiguel de Icaza <miguel@gnome.org>2006-01-04 19:30:03 +0300
commitc02121b63c5bb41c6170844d8c25233e730515cf (patch)
treedef738cf0f051db800887a9259e83fc1796be7c2 /mcs/tests/gtest-230.cs
parentf2e422c0bebee48af35f23cf4af04d7d3138761a (diff)
Add new tests
svn path=/trunk/mcs/; revision=55056
Diffstat (limited to 'mcs/tests/gtest-230.cs')
-rw-r--r--mcs/tests/gtest-230.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/mcs/tests/gtest-230.cs b/mcs/tests/gtest-230.cs
new file mode 100644
index 00000000000..dd2851bc453
--- /dev/null
+++ b/mcs/tests/gtest-230.cs
@@ -0,0 +1,27 @@
+//
+// This example is from bug: 72908
+//
+// Showed a problem with the use of "<" in certain expressions
+// that were confusing the parser
+//
+
+class A { }
+
+public class B {
+ static int goo <T1, T2, T3, T4, T5> (int d) { return 3; }
+
+ static void foo (int x) { }
+ static void foo (bool h, int x, int y, int j, bool k) { }
+
+ public void Add (object x) { }
+
+ static void Main () {
+ int A = 4;
+ int goo1 = 3;
+ foo (goo <A, A, A, A, A> (1));
+ foo (goo1 <A, A, A, A, A > goo1);
+ }
+}
+
+
+