Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-912.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3cda7a01c9a9c76aec322461b2f6e6c0773a1258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Compiler options: -r:test-912-lib.dll

using System;
using TypeLib;

public class Bar
{
	public const ushort FIELD = Foo.CONSTANT;

	public static int Main ()
	{
		Console.WriteLine (FIELD);
		if (FIELD != 65535)
			return 1;

		return 0;
	}
}