linux-packaging-mono/mcs/tests/test-decl-expr-02.cs

27 lines
336 B
C#
Raw Normal View History

// 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;
}
}