Commit 909ff728 authored by Esme Povirk's avatar Esme Povirk Committed by Alexandre Julliard

mscoree/tests: Catch expected exception in loadpaths.exe.

parent 57bd5b10
...@@ -16,13 +16,28 @@ ...@@ -16,13 +16,28 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
using System;
namespace LoadPaths namespace LoadPaths
{ {
public static class Test public static class Test
{ {
public static int RunExternal()
{
return new Test2().Foo();
}
}
public static class MainClass
{
static int Main(string[] args) static int Main(string[] args)
{ {
return new Test2().Foo(); try {
return Test.RunExternal();
}
catch {
return 1;
}
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment