xref: /freebsd/bin/sh/tests/parser/dollar-quote12.0 (revision fed1ca4b719c56c930f2259d80663cd34be812bb)
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