27 lines
247 B
C#
Raw Normal View History

public struct V
{
public int this [int i] {
set {
}
}
public int x;
}
class Test
{
V m_value;
public V v { get { return m_value; } }
public Test ()
{
m_value = new V ();
m_value [0] = 1;
}
public static void Main ()
{
}
}