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