Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-54.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9c5dfcbc345a238dc64dfc1c0a1c1bc04d92dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// This test does not pass peverify because we dont return properly
// from catch blocks
//
using System;

class X {

	bool v ()
	{
		try {
			throw new Exception ();
		} catch {
			return false;
		}
		return true;
	}

	public static int Main ()
	{
		return 0;
	}		
}