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