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