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:
authorMarek Safar <marek.safar@gmail.com>2004-12-17 14:09:56 +0300
committerMarek Safar <marek.safar@gmail.com>2004-12-17 14:09:56 +0300
commit1333b0cb8365b5023f5c6fed32176801f55af19e (patch)
treee04994919133ea6cb16eb7148e6ade3bc7f0aa8b /mcs/errors/cs1007.cs
parent99d0c4b0b6065284df86f65b6b1d4f047b46a24e (diff)
2004-12-17 Marek Safar <marek.safar@seznam.cz>
* makefile: Removed LOCAL_MCS_FLAGS. Every test should have its own. * cs1621.cs, cs1014.cs, cs1615.cs, cs1609.cs, cs1627.cs, cs1599-2.cs, cs1620.cs, cs0686.cs, cs1534.cs, cs1007.cs, cs1626.cs, cs1599.cs, cs1670.cs, cs1646.cs, cs0683.cs, cs1638.cs, cs0103-2.cs: New error tests. svn path=/trunk/mcs/; revision=37871
Diffstat (limited to 'mcs/errors/cs1007.cs')
-rw-r--r--mcs/errors/cs1007.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs1007.cs b/mcs/errors/cs1007.cs
new file mode 100644
index 00000000000..af0d55bd7a9
--- /dev/null
+++ b/mcs/errors/cs1007.cs
@@ -0,0 +1,14 @@
+// cs01007.cs: Property accessor already defined
+// Line: 10
+
+public class C
+{
+ public int Prop {
+ get {
+ return 0;
+ }
+ get {
+ return 0;
+ }
+ }
+}