diff options
Diffstat (limited to 'bin/sh/tests/execution/func2.0')
| -rw-r--r-- | bin/sh/tests/execution/func2.0 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/sh/tests/execution/func2.0 b/bin/sh/tests/execution/func2.0 new file mode 100644 index 000000000000..d0f505e30481 --- /dev/null +++ b/bin/sh/tests/execution/func2.0 @@ -0,0 +1,11 @@ +# 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 |
