tests: Add test for parameter type checking of async methods
[vala-gnome.git] / tests / asynchronous / bug792660.vala
blobb5ffdddefc446a4a05142753f1f494b0fcaef0e9
1 abstract class Foo {
2 public abstract async void foo ([CCode (array_length = false)] string[] a, int i);
5 class Bar : Foo {
6 public override async void foo (string[] a, int i) {
7 assert (i == 42);
11 void main () {
12 string[] a = { "foo", "bar" };
13 var bar = new Bar ();
14 bar.foo.begin (a, 42);