summaryrefslogtreecommitdiff
path: root/tests/semantic/yield-call-requires-async-method-2.test
blob: f3d1fe67d2c54263dd001565b956b9d2671e0c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Invalid Code

class Foo {
	signal void bar ();

	void run () {
		yield bar ();
	}
}

void main () {
}