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

[CCode (has_target = false)]
delegate void FooFunc ();

void main () {
	int i = 0;
	FooFunc f = () => {
		i++;
	};
}