diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-08-04 18:04:42 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-08-04 18:04:42 +0400 |
commit | 6094dea7afd28e2ce215fbae4fcd40fc6ecf231f (patch) | |
tree | 5ed583d0eebeb371999b84a2a4f21eb4afc36fba /mcs/errors/cs0102-6.cs | |
parent | babecb6d8bc9a7ba57c56e7cb072a53c5ee393e0 (diff) |
2004-08-04 Marek Safar <marek.safar@seznam.cz>
* 62 new error tests.
svn path=/trunk/mcs/; revision=31867
Diffstat (limited to 'mcs/errors/cs0102-6.cs')
-rw-r--r-- | mcs/errors/cs0102-6.cs | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/mcs/errors/cs0102-6.cs b/mcs/errors/cs0102-6.cs index 2e208615fbb..3a8cb0f5df9 100644 --- a/mcs/errors/cs0102-6.cs +++ b/mcs/errors/cs0102-6.cs @@ -1,17 +1,7 @@ -// CS0102: The container `Test' already contains a definition for `x' -// Line: 10 -partial class Test -{ - int x; -} - -partial class Test -{ - int x; -} +// cs102.cs: The class 'X' already contains a definition for 'A' +// Line: 6 -class X -{ - static void Main () - { } +class X { + const int A = 10; + int A () {} } |