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:
authorCésar Natarén <cesar@mono-cvs.ximian.com>2002-12-19 04:35:45 +0300
committerCésar Natarén <cesar@mono-cvs.ximian.com>2002-12-19 04:35:45 +0300
commit763b5774f2115cddacc4c6dd6965315c481f8ce3 (patch)
tree19416d2c042f70ebfd67da3c7a53c0488683affe /mcs/errors/cs0201.cs
parent0cf7fde104d08a41a85511359928c04074b67fc5 (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.cs13
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;
+ }
+}