xref: /freebsd/bin/sh/tests/parser/dollar-quote12.0 (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# $FreeBSD$
2
3# \u without any digits at all remains invalid.
4# Our choice is a parse error.
5
6v=$( (eval ": \$'\u'") 2>&1 >/dev/null)
7[ $? -ne 0 ] && [ -n "$v" ]
8