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

cs0652.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8d42558e52b9255e987c343c479e50db952c814e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// cs0652.cs: Comparison to integral constant is useless; the constant is outside the range of type `byte'
// Line: 9
// Compiler options: -warnaserror -warn:2

class X
{
	void b ()
	{
                byte b = 0;
                if (b == 500)
                    return;
	}

	static void Main () {}
}