Fix bug #363587
[mono.git] / mcs / ilasm / tests / test-sn-module.il
1 // TEST #1
2 // 1. Assemble module (with signing)
3 // ilasm /dll /key=sn.snk test-sn-module.il
4 //
5 // 2. Verify strongname signature
6 // sn -v test-sn-module.dll
7 //
8 // Unable to load assembly: test-sn-module.dll
9
10 .assembly extern mscorlib {}
11
12 .class private auto ansi beforefieldinit Program extends [mscorlib]System.Object {
13         .method private hidebysig static void Main() cil managed {
14                 .entrypoint
15                 .maxstack  8
16                 ldstr      "Hello Mono!"
17                 call       void [mscorlib]System.Console::WriteLine(string)
18                 ret
19         }
20 }