From: Jürg Billeter Date: Sat, 26 Sep 2009 14:24:31 +0000 (+0200) Subject: Add test for bug 595735 X-Git-Tag: 0.7.7~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=24341c5be4d1f11f44fa7ed575bd708f5b9ab1af;p=thirdparty%2Fvala.git Add test for bug 595735 --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 55825b36a..10a24f4c7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -47,6 +47,7 @@ TESTS = \ objects/bug593260.vala \ errors/errors.vala \ errors/bug596228.vala \ + asynchronous/bug595735.vala \ asynchronous/bug596177.vala \ dbus/basic-types.test \ dbus/arrays.test \ diff --git a/tests/asynchronous/bug595735.vala b/tests/asynchronous/bug595735.vala new file mode 100644 index 000000000..c88f7e345 --- /dev/null +++ b/tests/asynchronous/bug595735.vala @@ -0,0 +1,11 @@ +public abstract class Foo { + public abstract async void do_foo (); +} + +public class Bar : Foo { + public override async void do_foo () { + } +} + +void main () { +}