diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-05-10 17:49:22 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-05-10 17:49:22 +0400 |
commit | ce8edc448dea9793a8c8adf44db37b0090329f14 (patch) | |
tree | 936608aa9ecbab0113ab09879532c04ff36c264c /mcs/errors/cs0577-2.cs | |
parent | 167ec58d39397ad7485995b95d3b54c2fb701863 (diff) |
2004-05-10 Marek Safar <marek.safar@seznam.cz>
* cs0577-2, cs0577-3,
* cs1618.cs: 3 new error tests.
svn path=/trunk/mcs/; revision=27027
Diffstat (limited to 'mcs/errors/cs0577-2.cs')
-rw-r--r-- | mcs/errors/cs0577-2.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0577-2.cs b/mcs/errors/cs0577-2.cs new file mode 100644 index 00000000000..337ea223c82 --- /dev/null +++ b/mcs/errors/cs0577-2.cs @@ -0,0 +1,9 @@ +// cs0577.cs: Conditional not valid on 'MainClass.~MainClass()' because it is a destructor, operator, or explicit interface implementation +// Line: 5 + +class MainClass { + [System.Diagnostics.Conditional("DEBUG")] + ~MainClass () {} + + public static void Main () {} +} |