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