summaryrefslogtreecommitdiffstats
path: root/bin/sh/tests/execution/func2.0
blob: 9830b5e8a7cf62d1e9aa94a1ad3b9a271ca4b32c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# $FreeBSD$
# The empty pairs of braces here are to test that this does not cause a crash.

f() { }
f
hash -v f >/dev/null
f() { { }; }
f
hash -v f >/dev/null
f() { { } }
f
hash -v f >/dev/null
OpenPOWER on IntegriCloud