]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/execution/func2.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / execution / func2.0
1 # $FreeBSD: head/bin/sh/tests/execution/func2.0 211399 2010-08-16 17:18:08Z jilles $
2 # The empty pairs of braces here are to test that this does not cause a crash.
3
4 f() { }
5 f
6 hash -v f >/dev/null
7 f() { { }; }
8 f
9 hash -v f >/dev/null
10 f() { { } }
11 f
12 hash -v f >/dev/null