summary refs log tree commit diff
path: root/bin/cash/tests/execution/func2.0
blob: 4f00a30cc2e02f3db302db32ecedc38282e7fce7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# $FreeBSD: releng/12.0/bin/sh/tests/execution/func2.0 211399 2010-08-16 17:18:08Z jilles $
# 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