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