mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 19:28:40 +00:00
mscoree/tests: Catch expected exception in loadpaths.exe.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54202
This commit is contained in:
parent
57bd5b10a1
commit
909ff72892
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue