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 06:00:59 +0400
committerMartin Baulig <martin@novell.com>2004-07-23 06:00:59 +0400
commit4e6f20adb3e4b23e6a34589baaac2d81d349b9f5 (patch)
treeb0e3941ef128c6ecc171fe635b9570c3ddbcd1a0 /mcs/errors/cs0102-6.cs
parent3d3dd9eb8e95c42b0bcf0ee2cc8a6d8fd384935d (diff)
Another test for partial classes.
svn path=/trunk/mcs/; revision=31396
Diffstat (limited to 'mcs/errors/cs0102-6.cs')
-rw-r--r--mcs/errors/cs0102-6.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/errors/cs0102-6.cs b/mcs/errors/cs0102-6.cs
new file mode 100644
index 00000000000..2e208615fbb
--- /dev/null
+++ b/mcs/errors/cs0102-6.cs
@@ -0,0 +1,17 @@
+// CS0102: The container `Test' already contains a definition for `x'
+// Line: 10
+partial class Test
+{
+ int x;
+}
+
+partial class Test
+{
+ int x;
+}
+
+class X
+{
+ static void Main ()
+ { }
+}