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:
authorMartin Baulig <martin@novell.com>2004-08-17 00:59:08 +0400
committerMartin Baulig <martin@novell.com>2004-08-17 00:59:08 +0400
commit4f9284bcf13ec03bc91d42c68d50d7112c7f827d (patch)
tree226da1e242e8aa25b999cd011ff7286a04e7051e /mcs/errors/gcs0455.cs
parentf3dedd8f25820ecdf16da232094fb3c7ae29e37a (diff)
New tests.
svn path=/trunk/mcs/; revision=32400
Diffstat (limited to 'mcs/errors/gcs0455.cs')
-rw-r--r--mcs/errors/gcs0455.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/errors/gcs0455.cs b/mcs/errors/gcs0455.cs
new file mode 100644
index 00000000000..44aefafdc4a
--- /dev/null
+++ b/mcs/errors/gcs0455.cs
@@ -0,0 +1,20 @@
+// CS0455: Type parameter `T' inherits conflicting constraints `Test' and `World'
+// Line: 13
+using System;
+
+class Test
+{ }
+
+class World
+{ }
+
+class Foo<T,U>
+ where T : Test, U
+ where U : World
+{ }
+
+class X
+{
+ static void Main ()
+ { }
+}