[vala] Add test for bug 596177



commit 22700451b50c25bc85e94c443b4747273319b46b
Author: Jürg Billeter <j bitron ch>
Date:   Sat Sep 26 15:57:14 2009 +0200

    Add test for bug 596177

 tests/Makefile.am                 |    1 +
 tests/asynchronous/bug596177.vala |    8 ++++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index df43441..f37128d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -46,6 +46,7 @@ TESTS = \
 	objects/bug593260.vala \
 	errors/errors.vala \
 	errors/bug596228.vala \
+	asynchronous/bug596177.vala \
 	dbus/basic-types.test \
 	dbus/arrays.test \
 	dbus/async.test \
diff --git a/tests/asynchronous/bug596177.vala b/tests/asynchronous/bug596177.vala
new file mode 100644
index 0000000..d80bec3
--- /dev/null
+++ b/tests/asynchronous/bug596177.vala
@@ -0,0 +1,8 @@
+class Foo<T> {
+	public async void do_foo () {
+		var t = typeof (T);
+	}
+}
+
+void main () {
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]