summaryrefslogtreecommitdiff
path: root/tests/delegates/lambda-outer-constant.test
blob: 51251fa06d7fc91917d6456b1ece878a83048411 (plain)
1
2
3
4
5
6
7
8
9
10
11
Invalid Code

delegate void FooFunc ();

void main () {
	const int FOO = 23;

	FooFunc foo = () => {
		var i = FOO;
	};
}