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