Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@ -0,0 +1,44 @@
struct Point
{
public int X, Y;
}
class C
{
static Point p;
public static int Main ()
{
new Point {
X = 0,
Y = 0
};
var markerPosition = new Point {
X = 2 * 3,
Y = 9
};
if (markerPosition.X != 6)
return 1;
if (markerPosition.Y != 9)
return 2;
Point[] pa = new Point[] { new Point { X = 9 }, new Point { X = 8 } };
if (pa [0].X != 9)
return 3;
if (pa [1].X != 8)
return 3;
p = new Point { Y = -1 };
if (p.Y != -1)
return 4;
return 0;
}
}