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