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 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
using System;
namespace LoadPaths
{
public static class Test
{
static int Main(string[] args)
public static int RunExternal()
{
return new Test2().Foo();
}
}
public static class MainClass
{
static int Main(string[] args)
{
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