+using System;
+
struct Point
{
public int x, y, z;
return 10;
if (zp.x != zp.y || zp.y != zp.z || zp.z != 0)
return 11;
+
+ // Test that the object is properly unboxed when called through
+ // the reflection interface
+ object o = Activator.CreateInstance (typeof (Point), new object [] { 1, 2 });
+ if (!(o is Point))
+ return 12;
+
return 0;
}
}