summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0157-6.cs
blob: a4db32017fbb719cebf6557d17dea29fd24dd69b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0157: Control cannot leave the body of a finally clause
// Line: 10

class Foo {
	static void Main () { int i; foo (out i); }
	static void foo (out int i)
	{
		try {}
		finally {
			return;
		}
	}
}