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>2009-06-26 19:08:24 +0400
committerMarek Safar <marek.safar@gmail.com>2009-06-26 19:08:24 +0400
commit728aad5d34e6de32b0c16cd0d746e74cc2b971fb (patch)
treeff4c2bd52668d913b6e728d4ee82ff438e8fd0f9 /mcs/errors/cs1740.cs
parent7b2f03b6971bc1d61c0d78aac2511a5432226748 (diff)
New tests.
svn path=/trunk/mcs/; revision=136973
Diffstat (limited to 'mcs/errors/cs1740.cs')
-rw-r--r--mcs/errors/cs1740.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs1740.cs b/mcs/errors/cs1740.cs
new file mode 100644
index 00000000000..107ac501b82
--- /dev/null
+++ b/mcs/errors/cs1740.cs
@@ -0,0 +1,14 @@
+// CS1738: Named argument `a' specified multiple times
+// Line: 12
+
+class C
+{
+ static void Foo (int a)
+ {
+ }
+
+ public static void Main ()
+ {
+ Foo (a : 1, a : 2);
+ }
+}