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