From: Jürg Billeter Date: Sat, 26 Sep 2009 13:57:14 +0000 (+0200) Subject: Add test for bug 596177 X-Git-Tag: 0.7.7~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22700451b50c25bc85e94c443b4747273319b46b;p=thirdparty%2Fvala.git Add test for bug 596177 --- 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 { + public async void do_foo () { + var t = typeof (T); + } +} + +void main () { +}