linux-packaging-mono/mcs/tests/test-decl-expr-02.cs
Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

27 lines
336 B
C#

// Compiler options: -langversion:experimental
using static System.Console;
public class DeclarationExpressions
{
public static void Main()
{
// TODO:
//Test (int value = 5);
//WriteLine (value);
}
void M2 ()
{
// for (int i = 0; int v = 2; ++i) {
// }
}
static int Test (int x)
{
WriteLine (x);
return x;
}
}