xref: /freebsd/bin/sh/tests/parser/dollar-quote9.0 (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
1# $FreeBSD$
2
3# POSIX and C99 say D800-DFFF are undefined in a universal character name.
4# We reject this but many other shells expand to something that looks like
5# CESU-8.
6
7v=$( (eval ": \$'\uD800'") 2>&1 >/dev/null)
8[ $? -ne 0 ] && [ -n "$v" ]
9