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