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