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