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