a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
334 B
C#
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;
|
|
}
|
|
}
|