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:
authorMartin Baulig <martin@novell.com>2007-03-27 02:25:33 +0400
committerMartin Baulig <martin@novell.com>2007-03-27 02:25:33 +0400
commit771cf0dc5437db68e123e2478f2995b1d63d7dae (patch)
treeeb1a64b44df77aa7ff5e5e8ca2c4d7f965dd6234 /mcs/tests/gtest-323.cs
parentf6f747f059680bdc6b72286adad9770dec3110a4 (diff)
2007-03-27 Martin Baulig <martin@ximian.com>
Fix #81209. * decl.cs (DeclSpace.LookupNestedTypeInHierarchy): Correctly handle nested generic types. svn path=/trunk/mcs/; revision=74993
Diffstat (limited to 'mcs/tests/gtest-323.cs')
-rwxr-xr-xmcs/tests/gtest-323.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/tests/gtest-323.cs b/mcs/tests/gtest-323.cs
new file mode 100755
index 00000000000..a8b1b8bb50d
--- /dev/null
+++ b/mcs/tests/gtest-323.cs
@@ -0,0 +1,22 @@
+public class MyBase<K, V>
+{
+ public class Callback
+ { }
+
+ public void Hello (Callback cb)
+ { }
+}
+
+public class X : MyBase<string, int>
+{
+ public X (Callback cb)
+ { }
+
+ public void Test (Callback cb)
+ {
+ Hello (cb);
+ }
+
+ static void Main ()
+ { }
+}