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-01 13:29:04 +0400
committerMarek Safar <marek.safar@gmail.com>2010-04-01 13:29:04 +0400
commit9d75b81298fd0e797c821368b7b3513d08941834 (patch)
treeec205c15fa1a77ab6f40fbf8d898ec0f28b6a935 /mcs/tests/gtest-478.cs
parent73481d620cfbbd644c0b2f44459cd42aa77a03db (diff)
More tests.
svn path=/trunk/mcs/; revision=154622
Diffstat (limited to 'mcs/tests/gtest-478.cs')
-rw-r--r--mcs/tests/gtest-478.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/mcs/tests/gtest-478.cs b/mcs/tests/gtest-478.cs
new file mode 100644
index 00000000000..fa1052fd798
--- /dev/null
+++ b/mcs/tests/gtest-478.cs
@@ -0,0 +1,28 @@
+using System;
+
+interface IA
+{
+ void Foo ();
+}
+
+interface IG<T> : IA
+{
+ void GenFoo ();
+}
+
+class M : IG<int>
+{
+ public void Foo ()
+ {
+ }
+
+ public void GenFoo ()
+ {
+ }
+
+ public static void Main ()
+ {
+ IG<int> v = new M ();
+ v.Foo ();
+ }
+}