diff options
author | César Natarén <cesar@mono-cvs.ximian.com> | 2002-12-19 04:35:45 +0300 |
---|---|---|
committer | César Natarén <cesar@mono-cvs.ximian.com> | 2002-12-19 04:35:45 +0300 |
commit | 763b5774f2115cddacc4c6dd6965315c481f8ce3 (patch) | |
tree | 19416d2c042f70ebfd67da3c7a53c0488683affe /mcs/errors/cs0201.cs | |
parent | 0cf7fde104d08a41a85511359928c04074b67fc5 (diff) |
Added test for error CS0201.
svn path=/trunk/mcs/; revision=9758
Diffstat (limited to 'mcs/errors/cs0201.cs')
-rw-r--r-- | mcs/errors/cs0201.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs0201.cs b/mcs/errors/cs0201.cs new file mode 100644 index 00000000000..a5e3a00c04c --- /dev/null +++ b/mcs/errors/cs0201.cs @@ -0,0 +1,13 @@ +// +// cs0201.cs: if a meaningless statement is encountered error cs0201 have to be thrown +// + +using System; + +public class X +{ + public static void Main () + { + 2 * 3; + } +} |