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/cs0261.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/cs0261.cs')
-rw-r--r--mcs/errors/cs0261.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs0261.cs b/mcs/errors/cs0261.cs
new file mode 100644
index 00000000000..3e0a9945e05
--- /dev/null
+++ b/mcs/errors/cs0261.cs
@@ -0,0 +1,13 @@
+// CS0261: Partial declarations of `Foo' must be all classes, all structs or all interfaces
+// Line: 6
+partial class Foo
+{ }
+
+partial struct Foo
+{ }
+
+class X
+{
+ static void Main ()
+ { }
+}