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>2005-04-08 14:35:51 +0400
committerMarek Safar <marek.safar@gmail.com>2005-04-08 14:35:51 +0400
commit9bbfdd1a0e9bebb8fc8437529bc051a7568db4e4 (patch)
treed04f79acbbf8282a3f850486f577aafbeb9fb638 /mcs/errors/cs1674.cs
parent254bfe32ceb8bce04b77036059a3ca9c716f5835 (diff)
parent5c8e67bec237322c75e2ff6f747692963b9198cf (diff)
new error tests
svn path=/trunk/mcs/; revision=42683
Diffstat (limited to 'mcs/errors/cs1674.cs')
-rw-r--r--mcs/errors/cs1674.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs1674.cs b/mcs/errors/cs1674.cs
new file mode 100644
index 00000000000..657397e14d9
--- /dev/null
+++ b/mcs/errors/cs1674.cs
@@ -0,0 +1,12 @@
+// cs1674.cs: 'int': type used in a using statement must be implicitly convertible to 'System.IDisposable'
+// Line: 8
+
+class C
+{
+ void Method (int arg)
+ {
+ using (arg)
+ {
+ }
+ }
+} \ No newline at end of file