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