diff options
Diffstat (limited to 'tests/posix/string-concat.vala')
-rw-r--r-- | tests/posix/string-concat.vala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/posix/string-concat.vala b/tests/posix/string-concat.vala new file mode 100644 index 000000000..ead6abeed --- /dev/null +++ b/tests/posix/string-concat.vala @@ -0,0 +1,8 @@ +unowned string get_foo () { + return "foo"; +} + +void main () { + string s = get_foo () + "bar" + "!"; + assert (s == "foobar!"); +} |