summary refs log tree commit diff
path: root/bin/1sh/tests/execution/func2.0
blob: a1f3e0cc2d2a1289b8101ee4f6d7ecce610b10d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# $FreeBSD: releng/12.1/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