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