xref: /dflybsd-src/tools/regression/bin/sh/execution/func2.0 (revision 884717e1debcf4b08bda1d29d01b0c8a34b86a59)
1# $FreeBSD: src/tools/regression/bin/sh/execution/func2.0,v 1.2 2010/08/16 17:18:08 jilles Exp $
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
13