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