summaryrefslogtreecommitdiff
path: root/tests/posix/string-concat.vala
blob: ead6abeed5c23fb9ccae1b175c92145c97280928 (plain)
1
2
3
4
5
6
7
8
unowned string get_foo () {
	return "foo";
}

void main () {
	string s = get_foo () + "bar" + "!";
	assert (s == "foobar!");
}