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