diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-12-15 20:45:35 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-12-15 20:45:35 +0300 |
commit | 84758beefbc38beb477f91cc5e440bee8c1387e4 (patch) | |
tree | 00cdb0ef2d45e7bd0b9d6e465dd11c59f7bdc1b5 /mcs/errors/cs0642-5.cs | |
parent | 2a4754735936525dc96a839f34c851476afc1f3f (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.cs | 13 |
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); + { } + } +} + |