Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

28 lines
264 B
C#

using System;
class Test {
private long res = 0;
void test ()
{
long a = 1, b = 2;
res = 2 * a + 3 * b;
}
static int Main ()
{
Test x = new Test ();
x.test ();
Console.WriteLine (x.res);
if (x.res != 8)
return 1;
return 0;
}
}