[vala] Add test for bug 595639
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] Add test for bug 595639
- Date: Sat, 26 Sep 2009 14:31:16 +0000 (UTC)
commit c21532aa5eca15b18b51eac0a6d1451e8cc7e231
Author: Jürg Billeter <j bitron ch>
Date: Sat Sep 26 16:30:33 2009 +0200
Add test for bug 595639
tests/Makefile.am | 1 +
tests/delegates/bug595639.vala | 8 ++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 10a24f4..61eb60d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -34,6 +34,7 @@ TESTS = \
structs/gvalue.vala \
structs/bug595587.vala \
delegates/delegates.vala \
+ delegates/bug595639.vala \
objects/classes.vala \
objects/fields.vala \
objects/interfaces.vala \
diff --git a/tests/delegates/bug595639.vala b/tests/delegates/bug595639.vala
new file mode 100644
index 0000000..3278dfe
--- /dev/null
+++ b/tests/delegates/bug595639.vala
@@ -0,0 +1,8 @@
+delegate void Foo ();
+
+void do_foo (Foo foo) {
+ Foo bar = foo;
+}
+
+void main () {
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]