Update
[mono.git] / mcs / tests / test-74.cs
1 //
2 // This test excercises #pre-processor directives in non-1 column
3 // as well as the literal strings
4 //
5 class X {
6         #if Blah
7         #else
8         static int Main ()
9         {
10         #endif
11                 string s = @"Hola\";
12                 string d = "Hola\\";
13                 string e = @"Co""a";
14                 string f = "Co\"a";
15
16                 if (s != d)
17                         return 1;
18                 if (e != f)
19                         return 2;
20
21                 string g = "Hello\nworld";
22                 string h = @"Hello
23 world";
24                 if (g != h) 
25                         return 3;
26
27                 return 0;
28         }
29 }