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: 0eb5b69220467659af6badd836ef22f17077045e (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;
	}

	static int Main ()
	{
		return 0;
	}		
}