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

29 lines
334 B
C#

//
// This test just makes sure that we can typecast to
// array types, as this was introduced later into the
// grammar.
//
class X {
X [] GetX ()
{
return (X []) null;
}
int [] getInt ()
{
return (int []) null;
}
int [,,] getMoreInt ()
{
return (int [,,]) null;
}
public static int Main ()
{
return 0;
}
}