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