Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

44 lines
400 B
C#

// Important test: compare this to gcs0408-*.cs; these are the allowed cases.
class X<T>
{
void A (T t)
{ }
void A (T[] t)
{ }
void A (T[,] t)
{ }
void A (T[][] t)
{ }
void B (T[] t)
{ }
void B (int t)
{ }
void C (T[] t)
{ }
void C (T[,] t)
{ }
void C (int[,,] t)
{ }
void D (int x, T y)
{ }
void D (T x, long y)
{ }
}
class Foo
{
public static void Main ()
{ }
}