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

19 lines
217 B
C#

using System;
class Program
{
public static int Main ()
{
dynamic d = new Program ();
var p = d as int?;
if (p != null)
return 1;
var p2 = d as Program;
if (p2 == null)
return 2;
return 0;
}
}