diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 1 | ||||
-rw-r--r-- | tests/asynchronous/bug654336.vala | 8 |
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 () { +} |