xref: /freebsd/bin/sh/tests/expansion/cmdsubst12.0 (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1
2f() {
3	echo x$(printf foo >&2)y
4}
5[ "$(f 2>&1)" = "fooxy" ]
6