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:
authorMarek Safar <marek.safar@gmail.com>2010-02-17 17:14:15 +0300
committerMarek Safar <marek.safar@gmail.com>2010-02-17 17:14:15 +0300
commit8dc8429498a0b7cf349c0e4ff05eaaacc4cea367 (patch)
treec6bf2b26040e0ac45edd5b4373c45fa9d5ff7d45 /mcs/tests/gtest-040.cs
parent210512ea7dcf2572f60c3932c5f9aded425d21cf (diff)
New test.
svn path=/trunk/mcs/; revision=151908
Diffstat (limited to 'mcs/tests/gtest-040.cs')
-rw-r--r--mcs/tests/gtest-040.cs20
1 files changed, 19 insertions, 1 deletions
diff --git a/mcs/tests/gtest-040.cs b/mcs/tests/gtest-040.cs
index bcaeef3d0c9..defa47999f6 100644
--- a/mcs/tests/gtest-040.cs
+++ b/mcs/tests/gtest-040.cs
@@ -105,13 +105,31 @@ public class Stack<T>
}
}
+class A<U>
+{
+ public class Test<T>
+ {
+ public static Nested<T> Foo ()
+ {
+ return null;
+ }
+
+ public class Nested<X>
+ {
+ }
+ }
+}
+
class X
{
- static void Main ()
+ static int Main ()
{
Stack<int> stack = new Stack<int> (1);
INode<int> node = stack.GetNode ();
Stack<int>.Foo<int> foo = stack.GetFoo (7);
Stack<int>.Bar<int> bar = stack.GetBar (8);
+
+ A<bool>.Test<string>.Nested<string> v = A<bool>.Test<string>.Foo ();
+ return 0;
}
}