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-07-23 03:06:24 +0400
committerMartin Baulig <martin@novell.com>2004-07-23 03:06:24 +0400
commitce6ee30fe46b8ce60bd72b017d6e3dcaa9bb201a (patch)
treeadc50ecd15217a0e993226999735c4b3dadb7379 /mcs/errors/cs0263.cs
parent5e963bcf5d727682ffdab634fa680ace27c1ccf7 (diff)
2004-07-23 Martin Baulig <martin@ximian.com>
* cs0260.cs, cs0260-2.cs, cs0261.cs, cs0262.cs, cs0263.cs: New tests for partial classes. svn path=/trunk/mcs/; revision=31394
Diffstat (limited to 'mcs/errors/cs0263.cs')
-rw-r--r--mcs/errors/cs0263.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/errors/cs0263.cs b/mcs/errors/cs0263.cs
new file mode 100644
index 00000000000..f5a4ad63caf
--- /dev/null
+++ b/mcs/errors/cs0263.cs
@@ -0,0 +1,19 @@
+// CS0263: Partial declarations of `Foo' must not specify different base classes
+// Line: 12
+public class Base
+{ }
+
+public class OtherBase
+{ }
+
+public partial class Foo : Base
+{ }
+
+public partial class Foo : OtherBase
+{ }
+
+class X
+{
+ static void Main ()
+ { }
+}