diff options
Diffstat (limited to 'tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b77713/b77713.cs')
-rw-r--r-- | tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b77713/b77713.cs | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b77713/b77713.cs b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b77713/b77713.cs new file mode 100644 index 0000000000..b774ab5534 --- /dev/null +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b77713/b77713.cs @@ -0,0 +1,37 @@ +// 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 class BB + { + public static void Main1() + { + bool local2 = false; + try + { + if (local2) + return; + } + finally + { + throw new Exception(); + } + } + public static int Main() + { + try + { + Main1(); + } + catch (Exception) + { + return 100; + } + return 101; + } + } +} |