]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/parser/heredoc7.0
a15010648780c74cb25149dc80fa32196b5fe0f8
[apple/shell_cmds.git] / sh / tests / parser / heredoc7.0
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.
5 eval ': <<EOF'
6 eval ': <<EOF;'
7 eval '`: <<EOF`'
8 eval '`: <<EOF;`'
9 eval '`: <<EOF`;'
10 eval '`: <<EOF;`;'
11
12 # Some of these created malformed parse trees with null pointers for here
13 # documents, causing sh to segfault.
14 eval ': <<\EOF'
15 eval ': <<\EOF;'
16 eval '`: <<\EOF`'
17 eval '`: <<\EOF;`'
18 eval '`: <<\EOF`;'
19 eval '`: <<\EOF;`;'