xref: /freebsd/bin/sh/tests/expansion/set-u3.0 (revision 62cfcf62f627e5093fb37026a6d8c98e4d2ef04c)
1# $FreeBSD$
2
3set -u
4unset x
5v=$( (eval ': $((x))') 2>&1 >/dev/null)
6[ $? -ne 0 ] && [ -n "$v" ]
7