diff options
Diffstat (limited to 'tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b60723/b60723.cs')
-rw-r--r-- | tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b60723/b60723.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b60723/b60723.cs b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b60723/b60723.cs new file mode 100644 index 0000000000..53f59c3884 --- /dev/null +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b60723/b60723.cs @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +namespace Test +{ + using System; + + public struct AA + { + public static bool m_bFwd2; + public static int Main() + { + try + { + Main1(); + return 101; + } + catch (DivideByZeroException) + { + return 100; + } + } + public static void Main1() + { + try + { + bool local24 = true; + while (local24) + { + throw new DivideByZeroException(); + } + } + finally + { + while (m_bFwd2) { } + } + } + } +} |