e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
12 lines
233 B
C#
12 lines
233 B
C#
struct rigidbody { public float x; }
|
|
|
|
class Program
|
|
{
|
|
static rigidbody a;
|
|
static ref rigidbody property_returning_struct_by_ref => ref a;
|
|
|
|
static void Main()
|
|
{
|
|
System.Console.WriteLine (property_returning_struct_by_ref.x);
|
|
}
|
|
} |