xref: /freebsd/bin/sh/tests/parser/heredoc7.0 (revision b0d29bc47dba79f6f38e67eabadfb4b32ffd9390)
1# $FreeBSD$
2
3# Some of these created malformed parse trees with null pointers for here
4# documents, causing the here document writing process to segfault.
5eval ': <<EOF'
6eval ': <<EOF;'
7eval '`: <<EOF`'
8eval '`: <<EOF;`'
9eval '`: <<EOF`;'
10eval '`: <<EOF;`;'
11
12# Some of these created malformed parse trees with null pointers for here
13# documents, causing sh to segfault.
14eval ': <<\EOF'
15eval ': <<\EOF;'
16eval '`: <<\EOF`'
17eval '`: <<\EOF;`'
18eval '`: <<\EOF`;'
19eval '`: <<\EOF;`;'
20