a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
27 lines
263 B
C#
27 lines
263 B
C#
|
|
|
|
// Tests `var' keyword contextual parsing
|
|
|
|
public class Test : var
|
|
{
|
|
static void var ()
|
|
{
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
var i = null;
|
|
var v = new var ();
|
|
|
|
if (v.GetType () != typeof (var))
|
|
return 1;
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
public class var
|
|
{
|
|
}
|
|
|