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