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

test-74.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ede9e38b5777261295f359acd6ab53c8e3435883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// This test excercises #pre-processor directives in non-1 column
// as well as the literal strings
//
class X {
	#if Blah
	#else
	static int Main ()
	{
	#endif
		string s = @"Hola\";
		string d = "Hola\\";
		string e = @"Co""a";
		string f = "Co\"a";

		if (s != d)
			return 1;
		if (e != f)
			return 2;
		return 0;
	}
}