From: Rico Tzschichholz Date: Fri, 21 Sep 2018 13:14:05 +0000 (+0200) Subject: tests: Add invalid "array concatenation" test to increase coverage X-Git-Tag: 0.43.1~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77ac04967d43186ca4e374c690ef7659b236ddf6;p=thirdparty%2Fvala.git tests: Add invalid "array concatenation" test to increase coverage --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 57177c33f..3bc8baa52 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -30,6 +30,7 @@ TESTS = \ basic-types/sizeof.vala \ basic-types/garray.vala \ basic-types/glists.vala \ + basic-types/bug570846.test \ basic-types/bug571486.vala \ basic-types/bug591552.vala \ basic-types/bug595751.vala \ diff --git a/tests/basic-types/bug570846.test b/tests/basic-types/bug570846.test new file mode 100644 index 000000000..8af1628d5 --- /dev/null +++ b/tests/basic-types/bug570846.test @@ -0,0 +1,8 @@ +Invalid Code + +void foo (ref string[] bar) { + bar += "foo"; +} + +void main () { +}