summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2011-07-10 13:22:44 +0200
committerLuca Bruno <lucabru@src.gnome.org>2011-07-10 13:43:55 +0200
commitdd5e668522b194ade8118dc3620457cd1b7ed9d5 (patch)
treefb63c8716f58f2e334fdb9fbf0d0f086edc9c71d /tests
parentd495141d2d11df0ad59471182b90f87b8d4f12e0 (diff)
downloadvala-dd5e668522b194ade8118dc3620457cd1b7ed9d5.tar.gz
GAsync: Fix generating finish method for generic async methods
Fixes bug 654336.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/asynchronous/bug654336.vala8
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9a2c4e251..75eaf17dc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -125,6 +125,7 @@ TESTS = \
asynchronous/bug646945.vala \
asynchronous/bug652252.vala \
asynchronous/bug653861.vala \
+ asynchronous/bug654336.vala \
asynchronous/closures.vala \
dbus/basic-types.test \
dbus/arrays.test \
diff --git a/tests/asynchronous/bug654336.vala b/tests/asynchronous/bug654336.vala
new file mode 100644
index 000000000..cbafc85e4
--- /dev/null
+++ b/tests/asynchronous/bug654336.vala
@@ -0,0 +1,8 @@
+async void foo<T>() { }
+
+async void bar () {
+ yield foo<int> ();
+}
+
+void main () {
+}