[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-450.cs
1 // Compiler options: -platform:x86
2
3 using System;
4 using System.Reflection;
5
6 class Program {
7
8         public static int Main ()
9         {
10                 PortableExecutableKinds pekind;
11                 ImageFileMachine machine;
12
13                 typeof (Program).Module.GetPEKind (out pekind, out machine);
14
15                 if ((pekind & PortableExecutableKinds.ILOnly) == 0)
16                         return 1;
17
18                 if ((pekind & PortableExecutableKinds.Required32Bit) == 0)
19                         return 2;
20
21                 if (machine != ImageFileMachine.I386)
22                         return 3;
23
24                 return 0;
25         }
26 }