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