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