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