e2950ec768
Former-commit-id: fc39669a0b707dd3c063977486506b6793da2890
33 lines
316 B
C#
33 lines
316 B
C#
// Compiler options: -langversion:latest
|
|
|
|
class C
|
|
{
|
|
static void Main()
|
|
{
|
|
M (default, 1);
|
|
|
|
M2 (default);
|
|
M2 (null);
|
|
|
|
var res = Test (default);
|
|
}
|
|
|
|
|
|
static void M<T> (T x, T y)
|
|
{
|
|
}
|
|
|
|
static void M2 (params object[] x)
|
|
{
|
|
}
|
|
|
|
static byte[] Test (S<byte> x)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
struct S<T>
|
|
{
|
|
|
|
} |