mcs/error recovery: handle errors caused by closing braces after a statement expressi...
[mono.git] / mcs / ilasm / tests / test-24.il
1 //
2 // Mono.ILASM.Tests
3 //
4 // Author(s):
5 //  Jackson Harper (Jackson@LatitudeGeo.com)
6 //
7 // (C) 2003 Jackson Harper, All rights reserved
8 //
9
10 .assembly extern corlib { }
11
12 .namespace Mono.ILASM.Tests {
13
14         .field private static string global_string
15
16         .method private static void .cctor ()
17         {
18                 ldstr "PASS"
19                 stsfld string global_string
20                 ret
21         }
22
23         .method public static void Main ()
24         {
25                 .entrypoint
26
27                 ldsfld string global_string
28
29                 call void [mscorlib]System.Console::WriteLine (string)
30
31                 ret
32         }
33         
34 }