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

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54202
This commit is contained in:
Esme Povirk 2023-08-29 10:58:30 -05:00 committed by Alexandre Julliard
parent 57bd5b10a1
commit 909ff72892

View file

@ -16,13 +16,28 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
using System;
namespace LoadPaths
{
public static class Test
{
public static int RunExternal()
{
return new Test2().Foo();
}
}
public static class MainClass
{
static int Main(string[] args)
{
return new Test2().Foo();
try {
return Test.RunExternal();
}
catch {
return 1;
}
}
}
}