Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git] / mcs / tests / gtest-450.cs
blob5f78ba0533f990c58bb47836ccfb3fd57075746d
1 // Compiler options: -platform:x86
3 using System;
4 using System.Reflection;
6 class Program {
8 static int Main ()
10 PortableExecutableKinds pekind;
11 ImageFileMachine machine;
13 typeof (Program).Module.GetPEKind (out pekind, out machine);
15 if ((pekind & PortableExecutableKinds.ILOnly) == 0)
16 return 1;
18 if ((pekind & PortableExecutableKinds.Required32Bit) == 0)
19 return 2;
21 if (machine != ImageFileMachine.I386)
22 return 3;
24 return 0;