summaryrefslogtreecommitdiff
path: root/mcs/tests/test-decl-expr-02.cs
blob: 1c2ce76072838cb2c7adef53527300ca28707907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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;
	}
}