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