summary refs log tree commit diff
path: root/bin/1sh/tests/parser/heredoc7.0
blob: 0296f66342e8c7b26c53080106670ddb91b3408f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $FreeBSD: releng/12.1/bin/sh/tests/parser/heredoc7.0 210488 2010-07-25 22:25:52Z jilles $

# Some of these created malformed parse trees with null pointers for here
# documents, causing the here document writing process to segfault.
eval ': <<EOF'
eval ': <<EOF;'
eval '`: <<EOF`'
eval '`: <<EOF;`'
eval '`: <<EOF`;'
eval '`: <<EOF;`;'

# Some of these created malformed parse trees with null pointers for here
# documents, causing sh to segfault.
eval ': <<\EOF'
eval ': <<\EOF;'
eval '`: <<\EOF`'
eval '`: <<\EOF;`'
eval '`: <<\EOF`;'
eval '`: <<\EOF;`;'