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-04-28 15:04:23 +0400
committerMarek Safar <marek.safar@gmail.com>2010-04-28 15:04:23 +0400
commit136d27b4311c3e1b722587d3e835906d9c61053a (patch)
tree80519cdad348b5c4f57e613b4eca466cb6db44bf /mcs/tests/gtest-496.cs
parent052a8802d7a797688ca6f2ccf8ebb1db433a0abe (diff)
New tests.
svn path=/trunk/mcs/; revision=156308
Diffstat (limited to 'mcs/tests/gtest-496.cs')
-rw-r--r--mcs/tests/gtest-496.cs26
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;
+ }
+}