From 4b4aad7217d3292650e77eec2cf4c198ea9c3b4b Mon Sep 17 00:00:00 2001 From: Jiyoung Yun Date: Wed, 23 Nov 2016 19:09:09 +0900 Subject: Imported Upstream version 1.1.0 --- .../CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.cs | 43 +++++++++++++++++++++ .../CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.csproj | 45 ++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.cs create mode 100644 tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.csproj (limited to 'tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82866') diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.cs b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.cs new file mode 100644 index 0000000000..e814b1cd70 --- /dev/null +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.cs @@ -0,0 +1,43 @@ +// 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; +public class AA +{ + static AA m_xStatic3; + static long m_lFwd5; + void Method1(ref long param1) { } + static int Main() + { + try + { + Main1(); + return 101; + } + catch (NullReferenceException) + { + return 100; + } + } + static void Main1() + { + long local12 = m_lFwd5; + m_xStatic3.Method1(ref local12); + try + { + throw new IndexOutOfRangeException(); + } + catch (NullReferenceException) { } + try + { + throw new NullReferenceException(); + } + finally + { + bool local19 = true; + while (local19) { } + } + } +} diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.csproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.csproj new file mode 100644 index 0000000000..80c7918713 --- /dev/null +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b82866/b82866.csproj @@ -0,0 +1,45 @@ + + + + + Debug + AnyCPU + $(MSBuildProjectName) + 2.0 + {95DFC527-4DC1-495E-97D7-E94EE1F7140D} + Exe + Properties + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages + ..\..\ + + 7a9bfb7d + + + + + + + + + False + + + + PdbOnly + + + + + + + + + $(JitPackagesConfigFileDirectory)threading+thread\project.json + $(JitPackagesConfigFileDirectory)threading+thread\project.lock.json + + + + + -- cgit v1.2.3