summaryrefslogtreecommitdiff
path: root/tests/asynchronous
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2009-09-26 16:24:31 +0200
committerJürg Billeter <j@bitron.ch>2009-09-26 16:24:31 +0200
commit24341c5be4d1f11f44fa7ed575bd708f5b9ab1af (patch)
treec056b9428bbf3c808f001abdf2c2615d2b354080 /tests/asynchronous
parent65ff8c34df5fd892e209e570c292a5f6a5c4d0ed (diff)
downloadvala-24341c5be4d1f11f44fa7ed575bd708f5b9ab1af.tar.gz
Add test for bug 595735
Diffstat (limited to 'tests/asynchronous')
-rw-r--r--tests/asynchronous/bug595735.vala11
1 files changed, 11 insertions, 0 deletions
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 () {
+}