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:
authorScott Thomas <lunchtimemama@gmail.com>2009-11-12 00:52:13 +0300
committerScott Thomas <lunchtimemama@gmail.com>2009-11-12 00:52:13 +0300
commit9dd5cae8bb46ac89cf5640cbc57a0260050e2001 (patch)
treee32f547a0d6054aace0c48248e867d8f21767388 /mcs/tests/gtest-469.cs
parent901808e98ae52f8d9e25661cb90fbae6d4018205 (diff)
Fixed bug #553655 and added a unit test for it.
svn path=/trunk/mcs/; revision=145989
Diffstat (limited to 'mcs/tests/gtest-469.cs')
-rw-r--r--mcs/tests/gtest-469.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/tests/gtest-469.cs b/mcs/tests/gtest-469.cs
new file mode 100644
index 00000000000..11f9c5ccd13
--- /dev/null
+++ b/mcs/tests/gtest-469.cs
@@ -0,0 +1,19 @@
+interface I<T>
+{
+}
+
+class Foo<T1, T2> where T2 : I<I<T1>>
+{
+ public Foo (T2 t2)
+ {
+ }
+}
+
+class Bar : I<I<string>>
+{
+ static int Main ()
+ {
+ var foo = new Foo<string, Bar> (new Bar ());
+ return 0;
+ }
+}