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-15 20:45:35 +0300
committerMarek Safar <marek.safar@gmail.com>2004-12-15 20:45:35 +0300
commit84758beefbc38beb477f91cc5e440bee8c1387e4 (patch)
tree00cdb0ef2d45e7bd0b9d6e465dd11c59f7bdc1b5 /mcs/errors/cs0642-5.cs
parent2a4754735936525dc96a839f34c851476afc1f3f (diff)
new tests + refresh
svn path=/trunk/mcs/; revision=37792
Diffstat (limited to 'mcs/errors/cs0642-5.cs')
-rw-r--r--mcs/errors/cs0642-5.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs0642-5.cs b/mcs/errors/cs0642-5.cs
new file mode 100644
index 00000000000..ee519b878d0
--- /dev/null
+++ b/mcs/errors/cs0642-5.cs
@@ -0,0 +1,13 @@
+// cs0642.cs: Possible mistaken empty statement
+// Line: 9
+// Compiler options: -warnaserror -warn:3
+
+public class C
+{
+ public void Test (System.IDisposable arg)
+ {
+ using (arg);
+ { }
+ }
+}
+