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