You've already forked linux-packaging-mono
Imported Upstream version 4.2.0.179
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
This commit is contained in:
committed by
Jo Shields
parent
183bba2c9a
commit
6992685b86
@@ -59,20 +59,30 @@ public class Program
|
||||
|
||||
static int Test_6 (params object[] o)
|
||||
{
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int Test_6 (int i = 1, params object[] a)
|
||||
{
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int Test_7 (bool b, params object[] o)
|
||||
{
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int Test_7 (bool b, int i = 1, params object[] a)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int Test_8 (Type t, bool b = false, int x = 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int Test_8 (Type t, params int[] x)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
@@ -100,6 +110,9 @@ public class Program
|
||||
if (Test_7 (false) != 0)
|
||||
return 7;
|
||||
|
||||
if (Test_8 (typeof (bool)) != 0)
|
||||
return 8;
|
||||
|
||||
Console.WriteLine ("ok");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user