]>
Commit | Line | Data |
---|---|---|
deb63bfb | 1 | # $FreeBSD: head/bin/sh/tests/execution/func2.0 211399 2010-08-16 17:18:08Z jilles $ |
71aad674 A |
2 | # The empty pairs of braces here are to test that this does not cause a crash. |
3 | ||
4 | f() { } | |
5 | f | |
6 | hash -v f >/dev/null | |
7 | f() { { }; } | |
8 | f | |
9 | hash -v f >/dev/null | |
10 | f() { { } } | |
11 | f | |
12 | hash -v f >/dev/null |