summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2009-09-26 15:57:14 +0200
committerJürg Billeter <j@bitron.ch>2009-09-26 15:57:14 +0200
commit22700451b50c25bc85e94c443b4747273319b46b (patch)
tree8cea9333255f66b9a4bc0283987c4a844ec69ebc /tests
parentae4a7a167637b27b030463c14dfc73637ebba965 (diff)
downloadvala-22700451b50c25bc85e94c443b4747273319b46b.tar.gz
Add test for bug 596177
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/asynchronous/bug596177.vala8
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index df434411a..f37128dff 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 000000000..d80bec3d1
--- /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 () {
+}