diff options
author | Marek Safar <marek.safar@gmail.com> | 2006-12-16 15:10:23 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2006-12-16 15:10:23 +0300 |
commit | 72421858519cd6efa58b43d30474cc2f3cb7cd7f (patch) | |
tree | 9200f94ffefdf04bd56e9bc1f4f45e5d602d4e78 /mcs/errors/cs1615-2.cs | |
parent | 86cf45a556cfe278df79acbbba8a8a2a60739a8b (diff) |
New tests.
svn path=/trunk/mcs/; revision=69572
Diffstat (limited to 'mcs/errors/cs1615-2.cs')
-rw-r--r-- | mcs/errors/cs1615-2.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs1615-2.cs b/mcs/errors/cs1615-2.cs new file mode 100644 index 00000000000..fccefe8917a --- /dev/null +++ b/mcs/errors/cs1615-2.cs @@ -0,0 +1,15 @@ +// CS1615: Argument `2' should not be passed with the `out' keyword +// Line: 13 + +public class X +{ + public static void Test (params int[] a) + { + } + + public static void Main() + { + int i; + Test (1, out i); + } +} |