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-01-21 11:02:15 +0300
committerMarek Safar <marek.safar@gmail.com>2004-01-21 11:02:15 +0300
commitacfed8784349ab7d88ef56ba77a0d06729cfdc38 (patch)
tree6f6285651f8caadbe34d077cce128050096891e0 /mcs/errors/cs0663.cs
parent6e6b56e9ff7b5406f96a21fefce7c963e1213ae9 (diff)
New tests
svn path=/trunk/mcs/; revision=22322
Diffstat (limited to 'mcs/errors/cs0663.cs')
-rw-r--r--mcs/errors/cs0663.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/errors/cs0663.cs b/mcs/errors/cs0663.cs
new file mode 100644
index 00000000000..af76b20fea5
--- /dev/null
+++ b/mcs/errors/cs0663.cs
@@ -0,0 +1,7 @@
+// cs0663.cs: 'Test' cannot define overloaded methods which differ only on ref and out
+// Line: 6
+
+public interface WrongInterface {
+ int Test(out int obj);
+ int Test(ref int obj);
+}