diff options
author | Marek Safar <marek.safar@gmail.com> | 2010-04-28 15:04:23 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2010-04-28 15:04:23 +0400 |
commit | 136d27b4311c3e1b722587d3e835906d9c61053a (patch) | |
tree | 80519cdad348b5c4f57e613b4eca466cb6db44bf /mcs/tests/gtest-497.cs | |
parent | 052a8802d7a797688ca6f2ccf8ebb1db433a0abe (diff) |
New tests.
svn path=/trunk/mcs/; revision=156308
Diffstat (limited to 'mcs/tests/gtest-497.cs')
-rw-r--r-- | mcs/tests/gtest-497.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/tests/gtest-497.cs b/mcs/tests/gtest-497.cs new file mode 100644 index 00000000000..2cc549e4024 --- /dev/null +++ b/mcs/tests/gtest-497.cs @@ -0,0 +1,19 @@ +class Item +{ +} + +class ItemCollection<T> where T : Item +{ + public void Bind<U> (ItemCollection<U> sub) where U : T + { + } +} + +class a +{ + static void Main () + { + var ic = new ItemCollection<Item> (); + ic.Bind (ic); + } +} |