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