xref: /freebsd/bin/sh/tests/parser/heredoc7.0 (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
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