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