xref: /freebsd/bin/sh/tests/parser/dollar-quote13.0 (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1*5e03b81fSJilles Tjoelker
2*5e03b81fSJilles Tjoelker# This Unicode escape sequence that has never been in range should either
3*5e03b81fSJilles Tjoelker# fail to expand or expand to a fallback.
4*5e03b81fSJilles Tjoelker
5*5e03b81fSJilles Tjoelkerc=$(eval printf %s \$\'\\Uffffff41\' 2>/dev/null)
6*5e03b81fSJilles Tjoelkerr=$(($? != 0))
7*5e03b81fSJilles Tjoelker[ "$r.$c" = '1.' ] || [ "$r.$c" = '0.?' ] || [ "$r.$c" = $'0.\u2222' ]
8