blob: f374f931bf223481a92502dc7a4d373fb9cada0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
using System;
using System.Collections;
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Test
{
internal struct AA
{
public static int Main1()
{
AA[] local1 = new AA[10];
try
{
goto EOM;
}
finally
{
throw new Exception();
}
EOM:
if (((Array)new Object()).Clone() == null)
return 1;
return 0;
}
public static int Main()
{
try
{
Main1();
return 101;
}
catch (Exception)
{
return 100;
}
}
}
}
|