]> git.ipfire.org Git - thirdparty/vala.git/commit
tests: Add "use_string_marshalling = true" dbus-test
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 6 Mar 2017 12:16:45 +0000 (13:16 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 6 Mar 2017 13:16:14 +0000 (14:16 +0100)
commitac59d16159affbb6946e4f2b05570408095a17c5
tree2656fb39c5b22ee72a19ec9b70ef1226324c4c45
parent00d0c7d659adee4a9388acfc478ae4f55fb6d29f
tests: Add "use_string_marshalling = true" dbus-test

Commit 09e6818d01e introduced the possibility of inserting _error
labels at the end of functions, which make C compilers angry.
This "test" (no actual tests are run, just compile correctness is
checked here) triggers some of these situations.

the "test3" abstract method is trickier though, it doesn't warn
but produces code with early returns, which in practice means
possible leaks.

https://bugzilla.gnome.org/show_bug.cgi?id=778540
tests/Makefile.am
tests/dbus/enum-string-marshalling.vala [new file with mode: 0644]