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