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-496.cs | |
parent | 052a8802d7a797688ca6f2ccf8ebb1db433a0abe (diff) |
New tests.
svn path=/trunk/mcs/; revision=156308
Diffstat (limited to 'mcs/tests/gtest-496.cs')
-rw-r--r-- | mcs/tests/gtest-496.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mcs/tests/gtest-496.cs b/mcs/tests/gtest-496.cs new file mode 100644 index 00000000000..d8d283d209b --- /dev/null +++ b/mcs/tests/gtest-496.cs @@ -0,0 +1,26 @@ +using System; + +abstract class Base +{ + internal static T EndExecute<T> (object source, string method) where T : Base + { + return null; + } +} + +class Derived : Base +{ + internal static Derived EndExecute<TElement> (object source) + { + return null; + } +} + +class a +{ + static int Main () + { + Derived.EndExecute<Derived> (null, "something"); + return 0; + } +} |