diff options
author | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2002-06-27 20:37:52 +0400 |
---|---|---|
committer | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2002-06-27 20:37:52 +0400 |
commit | 6d4a4bbcb5bfcafa8823b25578d6f7f56c4fdc65 (patch) | |
tree | 540667dcea64868328bbea29c9d526fe6e6a392b /mcs/errors/cs1501-3.cs | |
parent | 9deb8e37ab4af9081b944e1d0be5cbc19e132387 (diff) |
Apply patches from Andrew
svn path=/trunk/mcs/; revision=5480
Diffstat (limited to 'mcs/errors/cs1501-3.cs')
-rw-r--r-- | mcs/errors/cs1501-3.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mcs/errors/cs1501-3.cs b/mcs/errors/cs1501-3.cs new file mode 100644 index 00000000000..e9a8573c826 --- /dev/null +++ b/mcs/errors/cs1501-3.cs @@ -0,0 +1,8 @@ +// CS1501: No overload for method 'X' takes '2' arguments +public struct X { + public X(int i) { } + + public static void Main() { + X x = new X("foo", "bar"); + } +} |