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:
authorGert Driesen <drieseng@users.sourceforge.net>2007-10-07 15:42:44 +0400
committerGert Driesen <drieseng@users.sourceforge.net>2007-10-07 15:42:44 +0400
commit76a002c2350ec6da38150d9928b78e3377cd3107 (patch)
treef0e3dc49d3bf9a9a3fdd8be397afea27f616b16b /mcs/tests/gtest-344.cs
parentb14f5e7f7c6d050cc6d73bf1a30a57d7fea13385 (diff)
* gtest-344.cs: test for bug #331191
* known-issues-gmcs: added gtest-344.cs. svn path=/trunk/mcs/; revision=87047
Diffstat (limited to 'mcs/tests/gtest-344.cs')
-rw-r--r--mcs/tests/gtest-344.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/tests/gtest-344.cs b/mcs/tests/gtest-344.cs
new file mode 100644
index 00000000000..03314e28a07
--- /dev/null
+++ b/mcs/tests/gtest-344.cs
@@ -0,0 +1,22 @@
+// Compiler options: /target:library
+
+using System;
+
+public abstract class ConfigurationElement
+{
+ protected ConfigurationElement ()
+ {
+ }
+}
+
+public class CustomConfigurationElement : ConfigurationElement
+{
+}
+
+public class CustomConfigurationElementCollection : BaseCollection<CustomConfigurationElement>
+{
+}
+
+public class BaseCollection<T> where T : ConfigurationElement, new ()
+{
+}