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