Reduce TLS accesses. (#11487)
[mono-project.git] / mono / tests / exception12.cs
bloba32ca99993eb5d714173492040ea128009755a69
1 using System;
3 public class Test {
5 public static int Main (string[] args) {
7 int c = 0;
8 try {
9 try {
10 c = 0;
12 catch (Exception e) {
13 Console.WriteLine("Exception: {0}", e.Message);
15 finally {
16 Console.WriteLine("Finally... {0}", c++);
19 finally {
20 c++;
23 if (c != 2)
24 return 1;
26 return 0;