summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-03-21 16:33:44 +0100
committerJürg Billeter <j@bitron.ch>2010-03-21 16:33:44 +0100
commitdf2b1aef63399d722b9ffd0b8db41d08e88557ef (patch)
treee2f4461262582458bdf81d0af9ccf563c94d91f7 /tests
parent7a74bdc1d17f27b201e12e27cab33f23c6e29c87 (diff)
downloadvala-df2b1aef63399d722b9ffd0b8db41d08e88557ef.tar.gz
GAsync: Fix async methods with struct parameters
Fixes bug 613484.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/asynchronous/bug613484.vala12
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index dbad7ba04..b746e19c8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -77,6 +77,7 @@ TESTS = \
asynchronous/bug599568.vala \
asynchronous/bug600827.vala \
asynchronous/bug601558.vala \
+ asynchronous/bug613484.vala \
dbus/basic-types.test \
dbus/arrays.test \
dbus/structs.test \
diff --git a/tests/asynchronous/bug613484.vala b/tests/asynchronous/bug613484.vala
new file mode 100644
index 000000000..581686f62
--- /dev/null
+++ b/tests/asynchronous/bug613484.vala
@@ -0,0 +1,12 @@
+struct Foo {
+ int i;
+}
+
+void do_foo (Foo foo) {
+}
+
+async void do_foo_async (Foo foo) {
+}
+
+void main () {
+}