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