From 24341c5be4d1f11f44fa7ed575bd708f5b9ab1af Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Sat, 26 Sep 2009 16:24:31 +0200 Subject: [PATCH] Add test for bug 595735 --- tests/Makefile.am | 1 + tests/asynchronous/bug595735.vala | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/asynchronous/bug595735.vala 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 () { +} -- 2.47.3