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

test-673.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 03e2c8d140244d828e322eb83b79c179ca96a19c (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
28
using System;

class Test
{
	// Foo
	static void \u0046oo () 
	{
	}
	
	public static int Main ()
	{
		const string a = "\U00010041";
		const string b = "\U0010FEDC";
		
		Console.WriteLine ((int) a[0]);
		if ((int) a[0] != 0xD800)
			return 1;

		Console.WriteLine ((int) a[1]);
		if ((int) a[1] != 0xDC41)
			return 2;
		
		Foo ();
		
		return 0;
	}
}