1# $FreeBSD: src/tools/regression/bin/sh/parser/heredoc7.0,v 1.1 2010/07/25 22:25:52 jilles Exp $
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