diff options
Diffstat (limited to 'mcs/tests/test-named-10.cs')
-rw-r--r-- | mcs/tests/test-named-10.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/tests/test-named-10.cs b/mcs/tests/test-named-10.cs new file mode 100644 index 00000000000..6434c836612 --- /dev/null +++ b/mcs/tests/test-named-10.cs @@ -0,0 +1,18 @@ +using System; + +internal class Program +{ + public static void Main () + { + Method (1, 2, paramNamed: 3); + } + + static void Method (int p1, int paramNamed, int p2) + { + throw new ApplicationException (); + } + + static void Method (int p1, int p2, object paramNamed) + { + } +} |