xref: /freebsd/bin/sh/tests/builtins/eval4.0 (revision 0572ccaa4543b0abef8ef81e384c1d04de9f3da1)
1# $FreeBSD$
2
3# eval should preserve $? from command substitutions when starting
4# the parsed command.
5[ $(eval 'echo $?' $(false)) = 1 ]
6