diff options
author | Jürg Billeter <j@bitron.ch> | 2009-09-28 18:01:46 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2009-09-28 18:01:46 +0200 |
commit | 9c0e7c1447bb932df92e6f0a0966e1da363f2c9d (patch) | |
tree | e4ed1e7a90528a1d60f94e648c563144e5b5ed1c /tests | |
parent | af18843ecd3b5ace6c9592106d052afcbb3e713a (diff) | |
download | vala-9c0e7c1447bb932df92e6f0a0966e1da363f2c9d.tar.gz |
Fix delegate variables in GObject creation methods
Fixes bug 596621.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 1 | ||||
-rw-r--r-- | tests/objects/bug596621.vala | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8c83e86f7..f1058b826 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -48,6 +48,7 @@ TESTS = \ objects/test-029.vala \ objects/test-034.vala \ objects/bug593260.vala \ + objects/bug596621.vala \ errors/errors.vala \ errors/bug596228.vala \ asynchronous/bug595735.vala \ diff --git a/tests/objects/bug596621.vala b/tests/objects/bug596621.vala new file mode 100644 index 000000000..348ea40ad --- /dev/null +++ b/tests/objects/bug596621.vala @@ -0,0 +1,15 @@ +class Foo : Object { + [CCode (has_construct_function = false)] + public Foo () { + } +} + +class Bar : Foo { + public Bar () { + Func baz; + } +} + +void main () { +} + |