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