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

test-693.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 979bb51041c76c6cd43dc73dd81aa55217de01be (plain)
1
2
3
4
5
6
7
8
9
10
11
using System;

public class ConstTest
{
	public static int Main ()
	{
		const float num = -2f;
		Console.WriteLine ("{0}, {1}", num, -num);
		return num != -num ? 0 : 1;
	}
}