Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / tools / regression / bin / sh / parser / dollar-quote8.0
1 # $FreeBSD: src/tools/regression/bin/sh/parser/dollar-quote8.0,v 1.2 2011/06/07 08:46:13 attilio Exp $
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 ]