xref: /freebsd/bin/sh/tests/execution/func2.0 (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1# The empty pairs of braces here are to test that this does not cause a crash.
2
3f() { }
4f
5hash -v f >/dev/null
6f() { { }; }
7f
8hash -v f >/dev/null
9f() { { } }
10f
11hash -v f >/dev/null
12