[vala] Add test for bug 595735
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] Add test for bug 595735
- Date: Sat, 26 Sep 2009 14:25:01 +0000 (UTC)
commit 24341c5be4d1f11f44fa7ed575bd708f5b9ab1af
Author: Jürg Billeter <j bitron ch>
Date: Sat Sep 26 16:24:31 2009 +0200
Add test for bug 595735
tests/Makefile.am | 1 +
tests/asynchronous/bug595735.vala | 11 +++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 55825b3..10a24f4 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 0000000..c88f7e3
--- /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 () {
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]