xref: /freebsd/bin/sh/tests/parser/dollar-quote8.0 (revision 38f0b757fd84d17d0fc24739a7cda160c4516d81)
1# $FreeBSD$
2
3[ $'hello\0' = hello ]
4[ $'hello\0world' = hello ]
5[ $'hello\0'$'world' = helloworld ]
6[ $'hello\000' = hello ]
7[ $'hello\000world' = hello ]
8[ $'hello\000'$'world' = helloworld ]
9[ $'hello\x00' = hello ]
10[ $'hello\x00world' = hello ]
11[ $'hello\x00'$'world' = helloworld ]
12