xref: /freebsd/bin/sh/tests/execution/func2.0 (revision 7431dfd4580e850375fe5478d92ec770344db098)
1# $FreeBSD$
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