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