Allow targets from imported projects to be overridden.
[mcs.git] / ilasm / tests / test-ldcr-bytes.il
blobae07d7b270f8f23c7e15d686a3d8cfb89a269872
1 .assembly extern mscorlib
4 .assembly 'test-ldcr-bytes'
7 .module ldcr8.exe
9   .class private auto ansi beforefieldinit test
10         extends [mscorlib]System.Object
11   {
13     .method public hidebysig  specialname  rtspecialname 
14            instance default void .ctor ()  cil managed 
15     {
16         .maxstack 8
17         IL_0000:  ldarg.0 
18         IL_0001:  call instance void object::.ctor()
19         IL_0006:  ret 
20     }
22     .method private static  hidebysig 
23            default float64 foo ()  cil managed 
24     {
25         .maxstack 8
26         ldc.r4 (00 01 02 03)
27         pop
28         ldc.r8 (00 01 02 03 04 05 06 07)
29         IL_0009:  ret 
30     }
32     .method public static  hidebysig 
33            default void Main (string[] args)  cil managed 
34     {
35         .entrypoint
36         .maxstack 8
37         IL_0000:  ldstr "{0}"
38         IL_0005:  call float64 class test::foo()
39         IL_000a:  box [mscorlib]System.Double
40         IL_000f:  call void class [mscorlib]System.Console::WriteLine(string, object)
41         IL_0014:  ret 
42     }
44   }