[runtime] Call unhandled exception handler explicitly to fix for bitcode
[mono-project.git] / mono / tests / bug-459285.2.cs
blob0439099d1b50b5b38179c585e52fdd961dc1741e
1 using System;
3 public class Foo<T>
5 public void DoSomething()
7 try
9 throw new Exception("Error");
11 catch
13 throw;
18 public class Bar: Foo<string>
23 public class MainClass
25 public static int Main()
27 try {
28 new Bar().DoSomething();
29 } catch {
30 return 0;
32 return 1;