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