summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
commit4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch)
tree98110734c91668dfdbb126fcc0e15ddbd93738ca /tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM
parentfa45f57ed55137c75ac870356a1b8f76c84b229c (diff)
downloadcoreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM')
-rw-r--r--tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b286991/b286991.il35
-rw-r--r--tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b286991/b286991.ilproj45
-rw-r--r--tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b460385/b460385.il84
-rw-r--r--tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b460385/b460385.ilproj40
-rw-r--r--tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b539509/b539509.cs701
-rw-r--r--tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b539509/b539509.csproj44
6 files changed, 949 insertions, 0 deletions
diff --git a/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b286991/b286991.il b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b286991/b286991.il
new file mode 100644
index 0000000000..287108192b
--- /dev/null
+++ b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b286991/b286991.il
@@ -0,0 +1,35 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+.assembly extern System.Console
+{
+ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
+ .ver 4:0:0:0
+}
+
+.assembly extern mscorlib {}
+.assembly test {}
+
+.method public static int32 Main()
+{
+ .entrypoint
+
+ ldc.i4 0x40
+ call int32 isupper(int32)
+
+ call void [System.Console]System.Console::WriteLine(int32)
+
+ ldstr "Test SUCCESS"
+ call void [System.Console]System.Console::WriteLine(string)
+
+ ldc.i4 100
+ ret
+}
+
+.method public static pinvokeimpl("msvcrt.dll" cdecl)
+ int32 isupper(int32) cil managed preservesig
+{
+ .custom instance void [mscorlib]System.Security.SuppressUnmanagedCodeSecurityAttribute::ctor() = (01 00 00 00)
+}
+
diff --git a/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b286991/b286991.ilproj b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b286991/b286991.ilproj
new file mode 100644
index 0000000000..0781a41614
--- /dev/null
+++ b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b286991/b286991.ilproj
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ </PropertyGroup>
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ </PropertyGroup>
+ <ItemGroup>
+ <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+ <Visible>False</Visible>
+ </CodeAnalysisDependentAssemblyPaths>
+ </ItemGroup>
+ <PropertyGroup>
+
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="b286991.il" />
+ </ItemGroup>
+ <ItemGroup>
+ <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+ </ItemGroup>
+ <PropertyGroup>
+ <ProjectJson>$(JitPackagesConfigFileDirectory)minimal\project.json</ProjectJson>
+ <ProjectLockJson>$(JitPackagesConfigFileDirectory)minimal\project.lock.json</ProjectLockJson>
+ </PropertyGroup>
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
+ </PropertyGroup>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b460385/b460385.il b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b460385/b460385.il
new file mode 100644
index 0000000000..2005acfe6a
--- /dev/null
+++ b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b460385/b460385.il
@@ -0,0 +1,84 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+.assembly extern System.Console
+{
+ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
+ .ver 4:0:0:0
+}
+
+
+.assembly Test1 {}
+.assembly extern mscorlib{auto}
+.class FullProof {
+
+.method static int32 Test() {
+.maxstack 47
+
+.zeroinit
+.locals(int32 test0, int32 test1, int32 test2, int32 test3, int32 test4, int32 test5, int32 test6, int32 test7, int32 test8, int32 test9, int64 test10, int64 test11, int64 test12, int64 test13, int64 test14, int64 test15, int64 test16, int64 test17, int64 test18, int64 test19, float64 test20, float64 test21, float64 test22, float64 test23, float64 test24, float64 test25, float64 test26, float64 test27, float64 test28, float64 test29, object test30, object test31, object test32, object test33, object test34, object test35, object test36, object test37, object test38, object test39)
+
+IL_1: ldc.i8 1 //I
+IL_2: ldc.i4 0 //iI
+IL_3: ldc.r4 0.0 //riI
+IL_4: ldc.r4 55.5 //rriI
+IL_5: nop //rriI
+IL_6: conv.r8 //rriI
+IL_7: nop //rriI
+IL_8: mul //riI
+IL_9: pop //iI
+IL_10: shr.un //I
+IL_11: ldloc test8 //iI
+IL_12: ldc.i4 -1 //iiI
+IL_13: ldc.i4.s 0 //iiiI
+IL_14: ldloc test8 //iiiiI
+IL_15: mul //iiiI
+IL_16: ldc.i4 0 //iiiiI
+IL_17: nop //iiiiI
+IL_18: add.ovf.un //iiiI
+IL_19: ldloc test2 //iiiiI
+IL_20: ldloc test0 //iiiiiI
+IL_21: nop //iiiiiI
+IL_22: beq IL_29 //iiiI
+IL_23: cgt.un //iiI
+IL_24: ldloc test3 //iiiI
+IL_25: ldc.i8 0 //IiiiI
+IL_26: ldc.i8 0 //IIiiiI
+IL_27: brfalse IL_28 //IiiiI
+IL_28: pop //iiiI
+IL_29: and //iiI
+IL_30: ldloc test31 //oiiI
+IL_31: brtrue IL_32 //iiI
+IL_32: shr //iI
+IL_33: ldloc test32 //oiI
+IL_34: nop //oiI
+IL_35: pop //iI
+IL_36: conv.ovf.i8.un //II
+IL_37: ldloc test2 //iII
+IL_38: ldc.i4.s 0 //iiII
+IL_39: conv.i2 //iiII
+IL_40: sub //iII
+IL_41: shr //II
+IL_42: mul //I
+IL_43: conv.ovf.i4.un //i
+IL_44: ldloc test15 //Ii
+IL_45: ldloc test19 //IIi
+IL_46: blt IL_47 //i
+IL_47: ret //
+}
+
+ .method public static int32 Main()
+{.entrypoint
+.maxstack 3
+
+call int32 FullProof::Test()
+pop
+
+ldstr "Test SUCCCESS"
+call void [System.Console]System.Console::WriteLine(string)
+ldc.i4 100
+ret
+}
+}
+
diff --git a/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b460385/b460385.ilproj b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b460385/b460385.ilproj
new file mode 100644
index 0000000000..262232f381
--- /dev/null
+++ b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b460385/b460385.ilproj
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ </PropertyGroup>
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ </PropertyGroup>
+ <ItemGroup>
+ <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+ <Visible>False</Visible>
+ </CodeAnalysisDependentAssemblyPaths>
+ </ItemGroup>
+ <PropertyGroup>
+
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="b460385.il" />
+ </ItemGroup>
+ <ItemGroup>
+ <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+ </ItemGroup>
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
+ </PropertyGroup>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b539509/b539509.cs b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b539509/b539509.cs
new file mode 100644
index 0000000000..0b1dfcee82
--- /dev/null
+++ b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b539509/b539509.cs
@@ -0,0 +1,701 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+//
+
+using System;
+using System.Collections;
+using System.Runtime.InteropServices;
+
+#pragma warning disable 1717, 0252, 1718, 0162, 0219
+
+public enum TestEnum
+{
+ red = 1,
+ green = 2,
+ blue = 4,
+}
+
+public class AA<TA, TB, TC, TD, TE, TF>
+ where TA : IComparable
+ where TB : IComparable
+ where TC : IComparable
+ where TD : IComparable
+ where TE : IComparable
+{
+ public TC m_aguiGeneric1;
+ public short[][][] Method1(uint[, , ,] param1, ref TestEnum param2)
+ {
+ uint local1 = ((uint)(((ulong)(17.0f))));
+ double local2 = ((double)(((ulong)(113.0f))));
+ String[] local3 = new String[] { "113", "92", "26", "24" };
+ while (Convert.ToBoolean(((short)(local1))))
+ {
+ local3[23] = "69";
+ do
+ {
+ char[][] local4 = new char[][]{(new char[48u]), new char[]{'\x3f', '\x00',
+ '\x47' }, new char[]{'\x58', '\x39', '\x70', '\x31' }, (new char[48u]),
+ new char[]{'\x62', '\x6b', '\x19', '\x30', '\x17' } };
+ local3 = ((String[])(((Array)(null))));
+ while ((((short)(local2)) == ((short)(local2))))
+ {
+ for (App.m_byFwd1 = App.m_byFwd1; ((bool)(((object)(new BB())))); local1--)
+ {
+ do
+ {
+ while (Convert.ToBoolean((local1 >> 100)))
+ {
+ local2 = local2;
+ }
+ while ((new AA<TA, TB, TC, TD, TE, TF>() == new
+ AA<TA, TB, TC, TD, TE, TF>()))
+ {
+ if (((bool)(((object)(new AA<TA, TB, TC, TD, TE, TF>())))))
+ param1 = (new uint[local1, 107u, 22u, local1]);
+ if (((bool)(((object)(param2)))))
+ continue;
+ if (App.m_bFwd2)
+ continue;
+ if ((/*2 REFS*/((byte)(local1)) != /*2 REFS*/((byte)(local1))))
+ {
+ throw new Exception();
+ }
+ }
+ local1 -= 88u;
+ while (((bool)(((object)(local2)))))
+ {
+ }
+ if (Convert.ToBoolean(((int)(local2))))
+ do
+ {
+ }
+ while (App.m_bFwd2);
+ else
+ {
+ }
+ }
+ while ((null != new AA<TA, TB, TC, TD, TE, TF>()));
+ local4 = (local4 = (local4 = new char[][]{(new char[local1]), (new char[
+ local1]), (new char[113u]) }));
+ do
+ {
+ }
+ while (Convert.ToBoolean(local2));
+ for (App.m_byFwd1 = ((byte)(local1)); ((bool)(((object)(local1)))); local2
+ -= (local2 + local2))
+ {
+ }
+ while (Convert.ToBoolean(((short)(local1))))
+ {
+ }
+ }
+ if (((bool)(((object)(new BB())))))
+ {
+ }
+ else
+ for (App.m_iFwd3 -= 33; ((bool)(((object)(local2)))); App.m_bFwd2 = App.
+ m_bFwd2)
+ {
+ }
+ }
+ for (App.m_iFwd3 /= (Convert.ToByte(33.0) ^ ((byte)(local1))); App.m_bFwd2;
+ App.m_shFwd4 = ((short)(((sbyte)(local2)))))
+ {
+ }
+ while (App.m_bFwd2)
+ {
+ }
+ break;
+ }
+ while ((/*2 REFS*/((object)(new BB())) != ((AA<TA, TB, TC, TD, TE, TF>)(
+ /*2 REFS*/((object)(new BB()))))));
+ for (App.m_iFwd3 = 60; ((bool)(((object)(new BB())))); local2 = local2)
+ {
+ }
+ local3 = ((String[])(((object)(local2))));
+ }
+ local3[((int)(((byte)(65))))] = "47";
+ try
+ {
+ }
+ catch (IndexOutOfRangeException)
+ {
+ }
+ return new short[][][]{/*2 REFS*/(new short[36u][]), new short[][]{ },
+ /*2 REFS*/(new short[36u][]) };
+ }
+ public static ulong Static1(TF param1)
+ {
+ byte local5 = ((byte)(((long)(69.0))));
+ float[,][,] local6 = (new float[9u, 6u][,]);
+ TestEnum local7 = TestEnum.blue;
+ do
+ {
+ bool[, , , ,][,] local8 = (new bool[81u, 98u, ((uint)(58.0f)), ((uint)(36.0f)),
+ 74u][,]);
+ while ((((uint)(local5)) != 4u))
+ {
+ if (Convert.ToBoolean((local5 + local5)))
+ local6 = (new float[((uint)(116.0)), 94u][,]);
+ else
+ for (App.m_iFwd3 -= 97; Convert.ToBoolean(((ushort)(local5))); App.m_ushFwd5
+ = Math.Max(((ushort)(26)), ((ushort)(43))))
+ {
+ local7 = local7;
+ }
+ }
+ local8[69, 1, 61, 62, 122][24, 40] = true;
+ local8[97, (((short)(115)) >> ((ushort)(local5))), 29, 29, ((int)(((ulong)(
+ local5))))][((int)(((long)(119u)))), 52] = false;
+ try
+ {
+ param1 = param1;
+ param1 = param1;
+ while ((/*2 REFS*/((sbyte)(local5)) == /*2 REFS*/((sbyte)(local5))))
+ {
+ try
+ {
+ throw new IndexOutOfRangeException();
+ }
+ catch (InvalidOperationException)
+ {
+ try
+ {
+ while (((bool)(((object)(local7)))))
+ {
+ return ((ulong)(((int)(7u))));
+ }
+ while ((new AA<TA, TB, TC, TD, TE, TF>() == new
+ AA<TA, TB, TC, TD, TE, TF>()))
+ {
+ local7 = local7;
+ local5 = (local5 += local5);
+ }
+ while (((bool)(((object)(local5)))))
+ {
+ }
+ goto label1;
+ }
+ catch (InvalidOperationException)
+ {
+ }
+ do
+ {
+ }
+ while ((new AA<TA, TB, TC, TD, TE, TF>() == new AA<TA, TB, TC, TD, TE, TF>(
+ )));
+ label1:
+ try
+ {
+ }
+ catch (Exception)
+ {
+ }
+ }
+ for (App.m_fFwd6 = App.m_fFwd6; ((bool)(((object)(new BB())))); App.m_dblFwd7
+ /= 94.0)
+ {
+ }
+ for (App.m_shFwd4--; App.m_bFwd2; App.m_ulFwd8 = ((ulong)(((ushort)(local5))
+ )))
+ {
+ }
+ local7 = local7;
+ local8[((int)(Convert.ToUInt64(26.0))), 60, ((int)(((long)(local5)))), ((
+ int)(local5)), 96] = (new bool[((uint)(48.0)), 97u]);
+ }
+ param1 = (param1 = param1);
+ }
+ finally
+ {
+ }
+ local8 = local8;
+ }
+ while (((bool)(((object)(local7)))));
+ if ((local5 == (local5 -= local5)))
+ while ((((Array)(null)) != ((object)(local7))))
+ {
+ }
+ else
+ {
+ }
+ for (App.m_dblFwd7++; App.m_bFwd2; App.m_chFwd9 += '\x69')
+ {
+ }
+ return ((ulong)(105));
+ }
+ public static char[] Static2(ulong param1, short param2, ref uint param3, ref
+ TA param4)
+ {
+ long[, , , ,][, ,][][, , ,] local9 = (new long[((uint)(5.0)), 24u, 65u, 9u, 29u]
+ [, ,][][,,,]);
+ char local10 = ((char)(97));
+ double local11 = 102.0;
+ sbyte[,][, , ,][] local12 = (new sbyte[41u, 15u][, , ,][]);
+ try
+ {
+ local12[26, 65] = ((sbyte[, , ,][])(((object)(new AA<TA, TB, TC, TD, TE, TF>()
+ ))));
+ try
+ {
+ do
+ {
+ do
+ {
+ do
+ {
+ try
+ {
+ do
+ {
+ try
+ {
+ local11 *= 27.0;
+ try
+ {
+ if (Convert.ToBoolean(((ushort)(param1))))
+ for (App.m_ushFwd5 /= ((ushort)(17.0f)); (new
+ AA<TA, TB, TC, TD, TE, TF>() != new AA<TA, TB, TC, TD, TE, TF>());
+ App.m_ushFwd5 *= ((ushort)(((sbyte)(param1)))))
+ {
+ }
+ }
+ catch (IndexOutOfRangeException)
+ {
+ }
+ do
+ {
+ }
+ while (((bool)(((object)(param1)))));
+ }
+ catch (InvalidOperationException)
+ {
+ }
+ }
+ while (("95" == Convert.ToString(local10)));
+ local11 -= ((double)(30));
+ while (((bool)(((object)(local10)))))
+ {
+ }
+ }
+ catch (NullReferenceException)
+ {
+ }
+ try
+ {
+ }
+ catch (InvalidOperationException)
+ {
+ }
+ param3 /= ((param3 /= param3) / param3);
+ }
+ while ((((long)(param2)) != (55 | param3)));
+ local10 = ((char)(((object)(local10))));
+ param1 *= ((ulong)(((ushort)(54u))));
+ try
+ {
+ }
+ catch (Exception)
+ {
+ }
+ param4 = (param4 = param4);
+ }
+ while ((param2 == param2));
+ do
+ {
+ }
+ while (((bool)(((object)(new AA<TA, TB, TC, TD, TE, TF>())))));
+ throw new DivideByZeroException();
+ }
+ while ((param3 == (65u / param3)));
+ do
+ {
+ }
+ while ((((sbyte)(local11)) == ((sbyte)(local11))));
+ local12[116, ((int)((param2 *= param2)))] = (new sbyte[((uint)(param2)), (
+ param3 += param3), 67u, 116u][]);
+ try
+ {
+ }
+ finally
+ {
+ }
+ }
+ finally
+ {
+ }
+ for (App.m_lFwd10 = (60 * param3); ((bool)(((object)(local10)))); local11--)
+ {
+ }
+ local12 = (local12 = (local12 = local12));
+ }
+ catch (IndexOutOfRangeException)
+ {
+ }
+ local9 = local9;
+ param1 *= (param1 >> ((ushort)(30)));
+ return new char[] { (local10 = local10), local10, (local10 = local10), '\x7e' };
+ }
+ public static sbyte[][][, , , ,][][, ,] Static3(TestEnum param1, short param2)
+ {
+ param1 = param1;
+ do
+ {
+ sbyte local13 = ((sbyte)(89.0));
+ double local14 = 103.0;
+ uint[,][][, ,][,] local15 = (new uint[92u, 102u][][,,][,]);
+ short[][, , ,][,][] local16 = (new short[32u][, , ,][,][]);
+ local15[((int)(((float)(69.0)))), 9][((int)(((ushort)(75.0f))))][((int)(66u))
+ , (((byte)(local13)) ^ ((byte)(param2))), ((local13 << local13) << ((ushort
+ )(local13)))][((int)(63u)), ((int)(((char)(8))))] *= 82u;
+ param1 = (param1 = param1);
+ }
+ while (((bool)(((object)(param1)))));
+ param1 = param1;
+ param2 = (param2 /= (param2 = param2));
+ return (new sbyte[36u][][,,,,][][,,]);
+ }
+ public static long[][, ,] Static4(char param1)
+ {
+ sbyte[][] local17 = ((sbyte[][])(((Array)(null))));
+ ulong[, ,] local18 = ((ulong[, ,])(((Array)(null))));
+ sbyte[][] local19 = new sbyte[][] { (new sbyte[16u]), (new sbyte[126u]) };
+ byte local20 = ((byte)(((sbyte)(90u))));
+ return (new long[15u][, ,]);
+ }
+ public static int Static5(ref TE param1, ref char[][, , ,] param2, Array param3,
+ ref ulong[, , , ,] param4, ref long[, , ,][][][][,] param5)
+ {
+ BB[] local21 = ((BB[])(((Array)(null))));
+ sbyte local22 = ((sbyte)(121));
+ bool local23 = (new AA<TA, TB, TC, TD, TE, TF>() == new
+ AA<TA, TB, TC, TD, TE, TF>());
+ object[][, ,][][, ,][,] local24 = (new object[115u][, ,][][,,][,]);
+ while (local23)
+ {
+ param1 = param1;
+ while (local23)
+ {
+ try
+ {
+ local23 = false;
+ }
+ catch (Exception)
+ {
+ param2[1] = (new char[57u, ((uint)(68)), 104u, ((uint)(local22))]);
+ try
+ {
+ local22 = local22;
+ do
+ {
+ do
+ {
+ local21[((int)(((long)(102u))))].m_achField1[((int)(local22))] = ((
+ char[,])(((object)(new BB()))));
+ param3 = ((Array)(null));
+ throw new IndexOutOfRangeException();
+ }
+ while (local23);
+ param3 = ((Array)(null));
+ local22 = local22;
+ local22 = (local22 *= local22);
+ while ((local23 && (null != new AA<TA, TB, TC, TD, TE, TF>())))
+ {
+ for (local22 = local22; local23; App.m_abyFwd11 = App.m_abyFwd11)
+ {
+ while (local23)
+ {
+ }
+ }
+ local22 = local22;
+ }
+ }
+ while ((/*3 REFS*/((uint)(local22)) != (local23 ?/*3 REFS*/((uint)(local22))
+ :/*3 REFS*/((uint)(local22)))));
+ local21[38].m_achField1 = new char[][,]{((char[,])(param3)), (new char[
+ 102u, 36u]) };
+ }
+ catch (DivideByZeroException)
+ {
+ }
+ local21 = local21;
+ }
+ try
+ {
+ }
+ catch (Exception)
+ {
+ }
+ throw new InvalidOperationException();
+ }
+ try
+ {
+ }
+ catch (Exception)
+ {
+ }
+ for (App.m_uFwd12--; local23; App.m_lFwd10 /= ((long)(((short)(28u)))))
+ {
+ }
+ }
+ param5 = (new long[108u, 115u, 20u, 126u][][][][,]);
+ local21[(((ushort)(local22)) << ((int)(local22)))].m_achField1[101] = (new
+ char[21u, 43u]);
+ for (App.m_shFwd4 = ((short)(76.0f)); ((bool)(((object)(local23)))); App.
+ m_chFwd9 *= '\x67')
+ {
+ }
+ if (local23)
+ try
+ {
+ }
+ catch (InvalidOperationException)
+ {
+ }
+ else
+ while (local23)
+ {
+ }
+ return 83;
+ }
+}
+
+[StructLayout(LayoutKind.Sequential)]
+public struct BB
+{
+ public char[][,] m_achField1;
+ public void Method1(ref uint[][][,] param1, ref String[][] param2, ref char[,]
+ param3, AA<sbyte, byte, uint, uint, long, bool> param4, ref
+ AA<sbyte, byte, uint, uint, long, bool> param5, int param6)
+ {
+ do
+ {
+ ushort[] local25 = (new ushort[62u]);
+ do
+ {
+ BB local26 = ((BB)(((object)(new AA<sbyte, byte, uint, uint, long, bool>()))
+ ));
+ param4.m_aguiGeneric1 = new AA<sbyte, byte, uint, uint, long, bool>().
+ m_aguiGeneric1;
+ try
+ {
+ ulong[, ,][] local27 = ((ulong[, ,][])(((Array)(null))));
+ ushort[,] local28 = (new ushort[8u, 8u]);
+ if ((/*2 REFS*/((short)(param6)) == /*2 REFS*/((short)(param6))))
+ while (App.m_bFwd2)
+ {
+ for (App.m_ushFwd5--; App.m_bFwd2; App.m_ulFwd8--)
+ {
+ param1 = param1;
+ }
+ AA<sbyte, byte, uint, uint, long, bool>.Static3(
+ TestEnum.blue,
+ App.m_shFwd4);
+ param1[(5 ^ param6)][param6] = (new uint[2u, ((uint)(param6))]);
+ }
+ else
+ local28[param6, (((ushort)(param6)) << ((sbyte)(47)))] += ((ushort)(((
+ ulong)(25u))));
+ while (((bool)(((object)(param4)))))
+ {
+ AA<sbyte, byte, uint, uint, long, bool>.Static2(
+ ((ulong)(114.0)),
+ ((short)(((long)(49.0f)))),
+ ref App.m_uFwd12,
+ ref App.m_gsbFwd13);
+ try
+ {
+ if ((null == new AA<sbyte, byte, uint, uint, long, bool>()))
+ if ((((char)(25)) != ((char)(param6))))
+ if (App.m_bFwd2)
+ try
+ {
+ param6 /= param6;
+ while ((((long)(44u)) != ((long)(param6))))
+ {
+ try
+ {
+ }
+ catch (InvalidOperationException)
+ {
+ }
+ do
+ {
+ }
+ while (App.m_bFwd2);
+ local25 = local25;
+ for (App.m_shFwd4 -= App.m_shFwd4; Convert.ToBoolean(param6); App.
+ m_byFwd1 *= Math.Max(((byte)(9u)), ((byte)(40u))))
+ {
+ }
+ }
+ local25[12] = App.m_ushFwd5;
+ local28 = (new ushort[111u, 80u]);
+ for (App.m_dblFwd7 = App.m_dblFwd7; (param6 == ((int)(101.0))); param6
+ *= param6)
+ {
+ }
+ }
+ catch (IndexOutOfRangeException)
+ {
+ }
+ param1 = param1;
+ param2[param6] = ((String[])(((Array)(null))));
+ try
+ {
+ }
+ catch (Exception)
+ {
+ }
+ }
+ finally
+ {
+ }
+ }
+ }
+ catch (Exception)
+ {
+ }
+ }
+ while (App.m_bFwd2);
+ for (App.m_xFwd14 = App.m_xFwd14; ((param6 - (0.0f)) == 86.0f); App.m_fFwd6 += (
+ 108u - ((float)(param6))))
+ {
+ }
+ if ((((object)(new AA<sbyte, byte, uint, uint, long, bool>())) == "32"))
+ param5.m_aguiGeneric1 = new AA<sbyte, byte, uint, uint, long, bool>().
+ m_aguiGeneric1;
+ else
+ do
+ {
+ }
+ while (((bool)(((object)(new AA<sbyte, byte, uint, uint, long, bool>())))));
+ if (App.m_bFwd2)
+ {
+ }
+ }
+ while (Convert.ToBoolean(param6));
+ param5.m_aguiGeneric1 = (param4 = param4).m_aguiGeneric1;
+ do
+ {
+ }
+ while (Convert.ToBoolean(param6));
+ ;
+ }
+}
+
+public class App
+{
+ static int Main()
+ {
+ try
+ {
+ Console.WriteLine("Testing AA::Method1");
+ ((AA<sbyte, byte, uint, uint, long, bool>)(((object)(new BB())))).Method1(
+ (new uint[12u, 115u, 95u, 13u]),
+ ref App.m_xFwd15);
+ }
+ catch (Exception x)
+ {
+ Console.WriteLine("Exception handled: " + x.ToString());
+ }
+ try
+ {
+ Console.WriteLine("Testing AA::Static1");
+ AA<sbyte, byte, uint, uint, long, bool>.Static1(App.m_agboFwd16);
+ }
+ catch (Exception x)
+ {
+ Console.WriteLine("Exception handled: " + x.ToString());
+ }
+ try
+ {
+ Console.WriteLine("Testing AA::Static2");
+ AA<sbyte, byte, uint, uint, long, bool>.Static2(
+ ((ulong)(((ushort)(10.0)))),
+ ((short)(70.0)),
+ ref App.m_uFwd12,
+ ref App.m_gsbFwd13);
+ }
+ catch (Exception x)
+ {
+ Console.WriteLine("Exception handled: " + x.ToString());
+ }
+ try
+ {
+ Console.WriteLine("Testing AA::Static3");
+ AA<sbyte, byte, uint, uint, long, bool>.Static3(
+ TestEnum.green,
+ ((short)(((sbyte)(69.0)))));
+ }
+ catch (Exception x)
+ {
+ Console.WriteLine("Exception handled: " + x.ToString());
+ }
+ try
+ {
+ Console.WriteLine("Testing AA::Static4");
+ AA<sbyte, byte, uint, uint, long, bool>.Static4('\x02');
+ }
+ catch (Exception x)
+ {
+ Console.WriteLine("Exception handled: " + x.ToString());
+ }
+ try
+ {
+ Console.WriteLine("Testing AA::Static5");
+ AA<sbyte, byte, uint, uint, long, bool>.Static5(
+ ref App.m_aglFwd17,
+ ref App.m_achFwd18,
+ ((Array)(null)),
+ ref App.m_aulFwd19,
+ ref App.m_alFwd20);
+ }
+ catch (Exception x)
+ {
+ Console.WriteLine("Exception handled: " + x.ToString());
+ }
+ try
+ {
+ Console.WriteLine("Testing BB::Method1");
+ new BB().Method1(
+ ref App.m_auFwd21,
+ ref App.m_axFwd22,
+ ref App.m_achFwd23,
+ new AA<sbyte, byte, uint, uint, long, bool>(),
+ ref App.m_axFwd24,
+ 87);
+ }
+ catch (Exception x)
+ {
+ Console.WriteLine("Exception handled: " + x.ToString());
+ }
+ Console.WriteLine("Passed.");
+ return 100;
+ }
+ public static byte m_byFwd1;
+ public static bool m_bFwd2;
+ public static int m_iFwd3;
+ public static short m_shFwd4;
+ public static ushort m_ushFwd5;
+ public static float m_fFwd6;
+ public static double m_dblFwd7;
+ public static ulong m_ulFwd8;
+ public static char m_chFwd9;
+ public static long m_lFwd10;
+ public static byte[] m_abyFwd11;
+ public static uint m_uFwd12;
+ public static sbyte m_gsbFwd13;
+ public static Array m_xFwd14;
+ public static TestEnum m_xFwd15;
+ public static bool m_agboFwd16;
+ public static long m_aglFwd17;
+ public static char[][, , ,] m_achFwd18;
+ public static ulong[, , , ,] m_aulFwd19;
+ public static long[, , ,][][][][,] m_alFwd20;
+ public static uint[][][,] m_auFwd21;
+ public static String[][] m_axFwd22;
+ public static char[,] m_achFwd23;
+ public static AA<sbyte, byte, uint, uint, long, bool> m_axFwd24;
+}
diff --git a/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b539509/b539509.csproj b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b539509/b539509.csproj
new file mode 100644
index 0000000000..aecf8aba35
--- /dev/null
+++ b/tests/src/JIT/Regression/VS-ia64-JIT/V2.0-RTM/b539509/b539509.csproj
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <AssemblyName>$(MSBuildProjectName)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{4161D387-F20B-4288-81EA-F13C2D384DD8}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ </PropertyGroup>
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ </PropertyGroup>
+ <ItemGroup>
+ <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
+ <Visible>False</Visible>
+ </CodeAnalysisDependentAssemblyPaths>
+ </ItemGroup>
+ <PropertyGroup>
+ <DebugType>PdbOnly</DebugType>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="b539509.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+ </ItemGroup>
+ <PropertyGroup>
+ <ProjectJson>$(JitPackagesConfigFileDirectory)threading+thread\project.json</ProjectJson>
+ <ProjectLockJson>$(JitPackagesConfigFileDirectory)threading+thread\project.lock.json</ProjectLockJson>
+ </PropertyGroup>
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
+ </PropertyGroup>
+</Project> \ No newline at end of file