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