]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Add test for bug 595735
authorJürg Billeter <j@bitron.ch>
Sat, 26 Sep 2009 14:24:31 +0000 (16:24 +0200)
committerJürg Billeter <j@bitron.ch>
Sat, 26 Sep 2009 14:24:31 +0000 (16:24 +0200)
tests/Makefile.am
tests/asynchronous/bug595735.vala [new file with mode: 0644]

index 55825b36ac1d31f21ba684f72889b05bf5354807..10a24f4c7a72303bb1c5a7c566dd3cc30344344d 100644 (file)
@@ -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 (file)
index 0000000..c88f7e3
--- /dev/null
@@ -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 () {
+}