a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
252 B
C#
20 lines
252 B
C#
class D(string arg) : Base (arg)
|
|
{
|
|
}
|
|
|
|
abstract class Base (object obj)
|
|
{
|
|
public string Prop { get { return obj.ToString (); } }
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static int Main ()
|
|
{
|
|
var d = new D ("test");
|
|
if (d.Prop != "test")
|
|
return 1;
|
|
|
|
return 0;
|
|
}
|
|
} |