diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-03-19 08:09:35 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-03-19 08:49:12 +0100 |
commit | 4bcd543831d7dfb643191e495c20a9a48cc86226 (patch) | |
tree | 772d1b2d097f60ab31fea7faf936f573c19d817c /tests/asynchronous | |
parent | 254a2535128c7ea63ab866e8a214e8df0e6eecd8 (diff) | |
download | vala-4bcd543831d7dfb643191e495c20a9a48cc86226.tar.gz |
vala: Variadic parameters are not supported for async methods
Diffstat (limited to 'tests/asynchronous')
-rw-r--r-- | tests/asynchronous/variadic-invalid-2.test | 7 | ||||
-rw-r--r-- | tests/asynchronous/variadic-invalid.test | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/asynchronous/variadic-invalid-2.test b/tests/asynchronous/variadic-invalid-2.test new file mode 100644 index 000000000..cf4ee9705 --- /dev/null +++ b/tests/asynchronous/variadic-invalid-2.test @@ -0,0 +1,7 @@ +Invalid Code + +async void foo (string first, va_list vals) { +} + +void main () { +} diff --git a/tests/asynchronous/variadic-invalid.test b/tests/asynchronous/variadic-invalid.test new file mode 100644 index 000000000..2e62113ad --- /dev/null +++ b/tests/asynchronous/variadic-invalid.test @@ -0,0 +1,7 @@ +Invalid Code + +async void foo (string first, ...) { +} + +void main () { +} |