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