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