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