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